Class AvailableShapeSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.cloudmigrations.model.AvailableShapeSummary
-
@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 theAvailableShapeSummary.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 theAvailableShapeSummary.Builder
, which maintain a set of all explicitly set fields calledAvailableShapeSummary.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AvailableShapeSummary.Builder
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
AvailableShapeSummary
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static AvailableShapeSummary.Builder builder()
Create a new builder.
-
toBuilder
public AvailableShapeSummary.Builder toBuilder()
-
getAvailabilityDomain
public String getAvailabilityDomain()
Availability domain of the shape.- Returns:
- the value
-
getPaginationToken
public String getPaginationToken()
Shape name and availability domain.Used for pagination.
- Returns:
- the value
-
getMinTotalBaselineOcpusRequired
public BigDecimal getMinTotalBaselineOcpusRequired()
Minimum CPUs required.- Returns:
- the value
-
getShape
public String getShape()
Name of the shape.- Returns:
- the value
-
getProcessorDescription
public String getProcessorDescription()
Description of the processor.- Returns:
- the value
-
getOcpus
public Float getOcpus()
Number of CPUs.- Returns:
- the value
-
getMemoryInGBs
public Float getMemoryInGBs()
Amount of memory for the shape.- Returns:
- the value
-
getNetworkingBandwidthInGbps
public Float getNetworkingBandwidthInGbps()
Shape bandwidth.- Returns:
- the value
-
getMaxVnicAttachments
public Integer getMaxVnicAttachments()
Maximum number of virtual network interfaces that can be attached.- Returns:
- the value
-
getGpus
public Integer getGpus()
Number of GPUs.- Returns:
- the value
-
getGpuDescription
public String getGpuDescription()
Description of the GPUs.- Returns:
- the value
-
getLocalDisks
public Integer getLocalDisks()
Number of local disks.- Returns:
- the value
-
getLocalDisksTotalSizeInGBs
public Float getLocalDisksTotalSizeInGBs()
Total size of local disks for shape.- Returns:
- the value
-
getLocalDiskDescription
public String getLocalDiskDescription()
Description of local disks.- Returns:
- the value
-
getFreeformTags
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”}
- Returns:
- the value
-
getDefinedTags
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”}}
- Returns:
- the value
-
getSystemTags
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”}}
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-