@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class UpdateInstanceShapeConfigDetails extends Object
The shape configuration requested for the instance. If provided, the instance will be updated
with the resources specified. In the case where some properties are missing,
the missing values will be set to the default for the provided shape.
Each shape only supports certain configurable values. If the `shape` is provided
and the configuration values are invalid for that new `shape`, an error will be returned.
If no `shape` is provided and the configuration values are invalid for the instance's
existing shape, an error will be returned.
Note: Objects should always be created or deserialized using the UpdateInstanceShapeConfigDetails.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 UpdateInstanceShapeConfigDetails.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 |
UpdateInstanceShapeConfigDetails.Builder |
| Constructor and Description |
|---|
UpdateInstanceShapeConfigDetails(Float ocpus,
Float memoryInGBs)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static UpdateInstanceShapeConfigDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Float |
getMemoryInGBs()
The total amount of memory available to the instance, in gigabytes.
|
Float |
getOcpus()
The total number of OCPUs available to the instance.
|
int |
hashCode() |
UpdateInstanceShapeConfigDetails.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"ocpus","memoryInGBs"}) @Deprecated public UpdateInstanceShapeConfigDetails(Float ocpus, Float memoryInGBs)
public static UpdateInstanceShapeConfigDetails.Builder builder()
Create a new builder.
public UpdateInstanceShapeConfigDetails.Builder toBuilder()
public Float getOcpus()
The total number of OCPUs available to the instance.
public Float getMemoryInGBs()
The total amount of memory available to the instance, in gigabytes.
Copyright © 2016–2021. All rights reserved.