@Generated(value="OracleSDKGenerator", comments="API Version: 20180222") public final class NodeSourceViaImageDetails extends NodeSourceDetails
Details of the image running on the node.
Note: Objects should always be created or deserialized using the NodeSourceViaImageDetails.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 NodeSourceViaImageDetails.Builder
, which maintain a
set of all explicitly set fields called ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and
equals(Object)
methods are implemented to take ExplicitlySetBmcModel.__explicitlySet__
into account.
The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(since the
constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
NodeSourceViaImageDetails.Builder |
Constructor and Description |
---|
NodeSourceViaImageDetails(String imageId,
Long bootVolumeSizeInGBs)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static NodeSourceViaImageDetails.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Long |
getBootVolumeSizeInGBs()
The size of the boot volume in GBs.
|
String |
getImageId()
The OCID of the image used to boot the node.
|
int |
hashCode() |
NodeSourceViaImageDetails.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public NodeSourceViaImageDetails(String imageId, Long bootVolumeSizeInGBs)
public static NodeSourceViaImageDetails.Builder builder()
Create a new builder.
public NodeSourceViaImageDetails.Builder toBuilder()
public String getImageId()
The OCID of the image used to boot the node.
public Long getBootVolumeSizeInGBs()
The size of the boot volume in GBs. Minimum value is 50 GB. See here for max custom boot volume sizing and OS-specific requirements.
public String toString()
toString
in class NodeSourceDetails
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class NodeSourceDetails
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class NodeSourceDetails
public int hashCode()
hashCode
in class NodeSourceDetails
Copyright © 2016–2023. All rights reserved.