@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class InstanceConfigurationInstanceSourceViaImageDetails extends InstanceConfigurationInstanceSourceDetails
InstanceConfigurationInstanceSourceViaImageDetails.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 InstanceConfigurationInstanceSourceViaImageDetails.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 |
InstanceConfigurationInstanceSourceViaImageDetails.Builder |
Constructor and Description |
---|
InstanceConfigurationInstanceSourceViaImageDetails(Long bootVolumeSizeInGBs,
String imageId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static InstanceConfigurationInstanceSourceViaImageDetails.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Long |
getBootVolumeSizeInGBs()
The size of the boot volume in GBs.
|
String |
getImageId()
The OCID of the image used to boot the instance.
|
int |
hashCode() |
InstanceConfigurationInstanceSourceViaImageDetails.Builder |
toBuilder() |
String |
toString() |
@Deprecated public InstanceConfigurationInstanceSourceViaImageDetails(Long bootVolumeSizeInGBs, String imageId)
public static InstanceConfigurationInstanceSourceViaImageDetails.Builder builder()
Create a new builder.
public InstanceConfigurationInstanceSourceViaImageDetails.Builder toBuilder()
public Long getBootVolumeSizeInGBs()
The size of the boot volume in GBs. The minimum value is 50 GB and the maximum value is 32,768 GB (32 TB).
public String getImageId()
The OCID of the image used to boot the instance.
public String toString()
toString
in class InstanceConfigurationInstanceSourceDetails
public boolean equals(Object o)
equals
in class InstanceConfigurationInstanceSourceDetails
protected boolean canEqual(Object other)
canEqual
in class InstanceConfigurationInstanceSourceDetails
public int hashCode()
hashCode
in class InstanceConfigurationInstanceSourceDetails
Copyright © 2016–2022. All rights reserved.