@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 the ShapeSummary.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 ShapeSummary.Builder
, which maintain a
set of all explicitly set fields called ShapeSummary.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 |
ShapeSummary.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and 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.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static ShapeSummary.Builder builder()
Create a new builder.
public ShapeSummary.Builder toBuilder()
public String getGpuDescription()
A short description of the graphics processing unit (GPU) available for this shape.
public Integer getGpus()
The number of GPUs available for this shape.
public Float getMemoryInGBs()
The default amount of memory available for this shape, in gigabytes.
public Float getNetworkingBandwidthInGbps()
The networking bandwidth available for this shape, in gigabits per second.
public Integer getOcpus()
The default number of OCPUs available for this shape.
public String getProcessorDescription()
A short description of the shape’s processor (CPU).
public String getShape()
The name of the shape.
public String getUsbControllerDescription()
A short description of the USB controller available for this shape.
public Integer getNumberOfUsbControllers()
The number of USB controllers available for this shape.
public String getTags()
The tags associated with tagSlug.
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"}
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"}}
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}}
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.