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