Class VolumeSourceFromBlockVolumeReplicaDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.core.model.VolumeSourceDetails
-
- com.oracle.bmc.core.model.VolumeSourceFromBlockVolumeReplicaDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class VolumeSourceFromBlockVolumeReplicaDetails extends VolumeSourceDetailsSpecifies the source block volume replica which the block volume will be created from.The block volume replica shoulbe be in the same availability domain as the block volume. Only one volume can be created from a replica at the same time.
Note: Objects should always be created or deserialized using theVolumeSourceFromBlockVolumeReplicaDetails.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 theVolumeSourceFromBlockVolumeReplicaDetails.Builder, which maintain a set of all explicitly set fields calledVolumeSourceFromBlockVolumeReplicaDetails.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVolumeSourceFromBlockVolumeReplicaDetails.Builder
-
Constructor Summary
Constructors Constructor Description VolumeSourceFromBlockVolumeReplicaDetails(String id)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VolumeSourceFromBlockVolumeReplicaDetails.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetId()The OCID of the block volume replica.inthashCode()VolumeSourceFromBlockVolumeReplicaDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
VolumeSourceFromBlockVolumeReplicaDetails
@Deprecated public VolumeSourceFromBlockVolumeReplicaDetails(String id)
Deprecated.
-
-
Method Detail
-
builder
public static VolumeSourceFromBlockVolumeReplicaDetails.Builder builder()
Create a new builder.
-
toBuilder
public VolumeSourceFromBlockVolumeReplicaDetails.Builder toBuilder()
-
getId
public String getId()
The OCID of the block volume replica.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classVolumeSourceDetails
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classVolumeSourceDetails- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classVolumeSourceDetails
-
hashCode
public int hashCode()
- Overrides:
hashCodein classVolumeSourceDetails
-
-