@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public final class PodShape extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Pod shape.
Note: Objects should always be created or deserialized using the PodShape.Builder
. This model
distinguishes fields that are null
because they are unset from fields that are explicitly
set to null
. This is done in the setter methods of the PodShape.Builder
, which maintain a
set of all explicitly set fields called PodShape.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
PodShape.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
PodShape(String name,
String processorDescription,
List<ShapeOcpuOptions> ocpuOptions,
List<ShapeMemoryOptions> memoryOptions,
List<ShapeNetworkBandwidthOptions> networkBandwidthOptions)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PodShape.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
List<ShapeMemoryOptions> |
getMemoryOptions()
ShapeMemoryOptions.
|
String |
getName()
The name of the identifying shape.
|
List<ShapeNetworkBandwidthOptions> |
getNetworkBandwidthOptions()
ShapeNetworkBandwidthOptions.
|
List<ShapeOcpuOptions> |
getOcpuOptions()
Options for OCPU shape.
|
String |
getProcessorDescription()
A short description of the VM’s processor (CPU).
|
int |
hashCode() |
PodShape.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"name","processorDescription","ocpuOptions","memoryOptions","networkBandwidthOptions"}) public PodShape(String name, String processorDescription, List<ShapeOcpuOptions> ocpuOptions, List<ShapeMemoryOptions> memoryOptions, List<ShapeNetworkBandwidthOptions> networkBandwidthOptions)
public static PodShape.Builder builder()
Create a new builder.
public PodShape.Builder toBuilder()
public String getName()
The name of the identifying shape.
public String getProcessorDescription()
A short description of the VM’s processor (CPU).
public List<ShapeOcpuOptions> getOcpuOptions()
Options for OCPU shape.
public List<ShapeMemoryOptions> getMemoryOptions()
ShapeMemoryOptions.
public List<ShapeNetworkBandwidthOptions> getNetworkBandwidthOptions()
ShapeNetworkBandwidthOptions.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.