Package com.oracle.bmc.rover.model
Class ShapeSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.rover.model.ShapeSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20201210") public final class ShapeSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A shape of a node on a Rover device.
Note: Objects should always be created or deserialized using theShapeSummary.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 theShapeSummary.Builder
, which maintain a set of all explicitly set fields calledShapeSummary.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
ShapeSummary.Builder
-
Constructor Summary
Constructors Constructor Description ShapeSummary(String gpuDescription, Integer gpus, Float memoryInGBs, Float networkingBandwidthInGbps, Integer ocpus, String processorDescription, String shape, String usbControllerDescription, Integer numberOfUsbControllers, String tags, 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 ShapeSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
Map<String,Map<String,Object>>
getDefinedTags()
The defined tags associated with this resource, if any.Map<String,String>
getFreeformTags()
The freeform tags associated with this resource, if any.String
getGpuDescription()
A short description of the graphics processing unit (GPU) available for this shape.Integer
getGpus()
The number of GPUs available for this shape.Float
getMemoryInGBs()
The default amount of memory available for this shape, in gigabytes.Float
getNetworkingBandwidthInGbps()
The networking bandwidth available for this shape, in gigabits per second.Integer
getNumberOfUsbControllers()
The number of USB controllers available for this shape.Integer
getOcpus()
The default number of OCPUs available for this shape.String
getProcessorDescription()
A short description of the shape’s processor (CPU).String
getShape()
The name of the shape.Map<String,Map<String,Object>>
getSystemTags()
The system tags associated with this resource, if any.String
getTags()
The tags associated with tagSlug.String
getUsbControllerDescription()
A short description of the USB controller available for this shape.int
hashCode()
ShapeSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
ShapeSummary
@Deprecated @ConstructorProperties({"gpuDescription","gpus","memoryInGBs","networkingBandwidthInGbps","ocpus","processorDescription","shape","usbControllerDescription","numberOfUsbControllers","tags","freeformTags","definedTags","systemTags"}) public ShapeSummary(String gpuDescription, Integer gpus, Float memoryInGBs, Float networkingBandwidthInGbps, Integer ocpus, String processorDescription, String shape, String usbControllerDescription, Integer numberOfUsbControllers, String tags, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
Deprecated.
-
-
Method Detail
-
builder
public static ShapeSummary.Builder builder()
Create a new builder.
-
toBuilder
public ShapeSummary.Builder toBuilder()
-
getGpuDescription
public String getGpuDescription()
A short description of the graphics processing unit (GPU) available for this shape.- Returns:
- the value
-
getGpus
public Integer getGpus()
The number of GPUs available for this shape.- Returns:
- the value
-
getMemoryInGBs
public Float getMemoryInGBs()
The default amount of memory available for this shape, in gigabytes.- Returns:
- the value
-
getNetworkingBandwidthInGbps
public Float getNetworkingBandwidthInGbps()
The networking bandwidth available for this shape, in gigabits per second.- Returns:
- the value
-
getOcpus
public Integer getOcpus()
The default number of OCPUs available for this shape.- Returns:
- the value
-
getProcessorDescription
public String getProcessorDescription()
A short description of the shape’s processor (CPU).- Returns:
- the value
-
getShape
public String getShape()
The name of the shape.- Returns:
- the value
-
getUsbControllerDescription
public String getUsbControllerDescription()
A short description of the USB controller available for this shape.- Returns:
- the value
-
getNumberOfUsbControllers
public Integer getNumberOfUsbControllers()
The number of USB controllers available for this shape.- Returns:
- the value
-
getTags
public String getTags()
The tags associated with tagSlug.- Returns:
- the value
-
getFreeformTags
public Map<String,String> getFreeformTags()
The freeform tags associated with this resource, if any.Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {“Department”: “Finance”}
- Returns:
- the value
-
getDefinedTags
public Map<String,Map<String,Object>> getDefinedTags()
The defined tags associated with this resource, if any.Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
- Returns:
- the value
-
getSystemTags
public Map<String,Map<String,Object>> getSystemTags()
The system tags associated with this resource, if any.The system tags are set by Oracle cloud infrastructure services. Each key is predefined and scoped to namespaces. For more information, see Resource Tags. Example: {orcl-cloud: {free-tier-retain: 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
-
-