@Generated(value="OracleSDKGenerator", comments="API Version: 20220919") public final class AvailableShapeSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Sumarized information about a shape.
Note: Objects should always be created or deserialized using the AvailableShapeSummary.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 AvailableShapeSummary.Builder
, which maintain a
set of all explicitly set fields called AvailableShapeSummary.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 |
AvailableShapeSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AvailableShapeSummary(String availabilityDomain,
String paginationToken,
BigDecimal minTotalBaselineOcpusRequired,
String shape,
String processorDescription,
Float ocpus,
Float memoryInGBs,
Float networkingBandwidthInGbps,
Integer maxVnicAttachments,
Integer gpus,
String gpuDescription,
Integer localDisks,
Float localDisksTotalSizeInGBs,
String localDiskDescription,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AvailableShapeSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getAvailabilityDomain()
Availability domain of the shape.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
String |
getGpuDescription()
Description of the GPUs.
|
Integer |
getGpus()
Number of GPUs.
|
String |
getLocalDiskDescription()
Description of local disks.
|
Integer |
getLocalDisks()
Number of local disks.
|
Float |
getLocalDisksTotalSizeInGBs()
Total size of local disks for shape.
|
Integer |
getMaxVnicAttachments()
Maximum number of virtual network interfaces that can be attached.
|
Float |
getMemoryInGBs()
Amount of memory for the shape.
|
BigDecimal |
getMinTotalBaselineOcpusRequired()
Minimum CPUs required.
|
Float |
getNetworkingBandwidthInGbps()
Shape bandwidth.
|
Float |
getOcpus()
Number of CPUs.
|
String |
getPaginationToken()
Shape name and availability domain.
|
String |
getProcessorDescription()
Description of the processor.
|
String |
getShape()
Name of the shape.
|
Map<String,Map<String,Object>> |
getSystemTags()
Usage of system tag keys.
|
int |
hashCode() |
AvailableShapeSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"availabilityDomain","paginationToken","minTotalBaselineOcpusRequired","shape","processorDescription","ocpus","memoryInGBs","networkingBandwidthInGbps","maxVnicAttachments","gpus","gpuDescription","localDisks","localDisksTotalSizeInGBs","localDiskDescription","freeformTags","definedTags","systemTags"}) public AvailableShapeSummary(String availabilityDomain, String paginationToken, BigDecimal minTotalBaselineOcpusRequired, String shape, String processorDescription, Float ocpus, Float memoryInGBs, Float networkingBandwidthInGbps, Integer maxVnicAttachments, Integer gpus, String gpuDescription, Integer localDisks, Float localDisksTotalSizeInGBs, String localDiskDescription, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
public static AvailableShapeSummary.Builder builder()
Create a new builder.
public AvailableShapeSummary.Builder toBuilder()
public String getAvailabilityDomain()
Availability domain of the shape.
public String getPaginationToken()
Shape name and availability domain. Used for pagination.
public BigDecimal getMinTotalBaselineOcpusRequired()
Minimum CPUs required.
public String getShape()
Name of the shape.
public String getProcessorDescription()
Description of the processor.
public Float getOcpus()
Number of CPUs.
public Float getMemoryInGBs()
Amount of memory for the shape.
public Float getNetworkingBandwidthInGbps()
Shape bandwidth.
public Integer getMaxVnicAttachments()
Maximum number of virtual network interfaces that can be attached.
public Integer getGpus()
Number of GPUs.
public String getGpuDescription()
Description of the GPUs.
public Integer getLocalDisks()
Number of local disks.
public Float getLocalDisksTotalSizeInGBs()
Total size of local disks for shape.
public String getLocalDiskDescription()
Description of local disks.
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope. It exists
only for cross-compatibility. Example: {"bar-key": "value"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
public Map<String,Map<String,Object>> getSystemTags()
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
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.