@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class VolumeSourceFromVolumeDetails extends VolumeSourceDetails
Specifies the source volume.
Note: Objects should always be created or deserialized using the VolumeSourceFromVolumeDetails.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 VolumeSourceFromVolumeDetails.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 |
VolumeSourceFromVolumeDetails.Builder |
| Constructor and Description |
|---|
VolumeSourceFromVolumeDetails(String id)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static VolumeSourceFromVolumeDetails.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getId()
The OCID of the volume.
|
int |
hashCode() |
VolumeSourceFromVolumeDetails.Builder |
toBuilder() |
String |
toString() |
@Deprecated public VolumeSourceFromVolumeDetails(String id)
public static VolumeSourceFromVolumeDetails.Builder builder()
Create a new builder.
public VolumeSourceFromVolumeDetails.Builder toBuilder()
public String getId()
The OCID of the volume.
public String toString()
toString in class VolumeSourceDetailspublic boolean equals(Object o)
equals in class VolumeSourceDetailsprotected boolean canEqual(Object other)
canEqual in class VolumeSourceDetailspublic int hashCode()
hashCode in class VolumeSourceDetailsCopyright © 2016–2021. All rights reserved.