@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class ShapeMemoryOptions extends Object
The possible configurations for the amount of memory available to an instance of this shape. If this field is null, then all instances of this shape have a fixed amount of memory equivalent to memoryInGBs.
Note: Objects should always be created or deserialized using the ShapeMemoryOptions.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 ShapeMemoryOptions.Builder, which maintain a set of all explicitly set fields called __explicitlySet__. The hashCode() and equals(Object) methods are implemented to take __explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__ (since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
ShapeMemoryOptions.Builder |
| Constructor and Description |
|---|
ShapeMemoryOptions(Float minInGBs,
Float maxInGBs,
Float defaultPerOcpuInGBs)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ShapeMemoryOptions.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Float |
getDefaultPerOcpuInGBs()
The default amount of memory, in gigabytes, per OCPU available to an instance of this shape.
|
Float |
getMaxInGBs()
The maximum amount of memory, in gigabytes.
|
Float |
getMinInGBs()
The minimum amount of memory, in gigabytes.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"minInGBs","maxInGBs","defaultPerOcpuInGBs"}) @Deprecated public ShapeMemoryOptions(Float minInGBs, Float maxInGBs, Float defaultPerOcpuInGBs)
public static ShapeMemoryOptions.Builder builder()
Create a new builder.
public Float getMinInGBs()
The minimum amount of memory, in gigabytes.
public Float getMaxInGBs()
The maximum amount of memory, in gigabytes.
public Float getDefaultPerOcpuInGBs()
The default amount of memory, in gigabytes, per OCPU available to an instance of this shape.
Copyright © 2016–2020. All rights reserved.