Class DataReplicationInfoReplicatedDisk
- java.lang.Object
-
- software.amazon.awssdk.services.drs.model.DataReplicationInfoReplicatedDisk
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataReplicationInfoReplicatedDisk.Builder,DataReplicationInfoReplicatedDisk>
@Generated("software.amazon.awssdk:codegen") public final class DataReplicationInfoReplicatedDisk extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataReplicationInfoReplicatedDisk.Builder,DataReplicationInfoReplicatedDisk>
A disk that should be replicated.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataReplicationInfoReplicatedDisk.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LongbackloggedStorageBytes()The size of the replication backlog in bytes.static DataReplicationInfoReplicatedDisk.Builderbuilder()StringdeviceName()The name of the device.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongreplicatedStorageBytes()The amount of data replicated so far in bytes.LongrescannedStorageBytes()The amount of data to be rescanned in bytes.List<SdkField<?>>sdkFields()static Class<? extends DataReplicationInfoReplicatedDisk.Builder>serializableBuilderClass()DataReplicationInfoReplicatedDisk.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongtotalStorageBytes()The total amount of data to be replicated in bytes.VolumeStatusvolumeStatus()The status of the volume.StringvolumeStatusAsString()The status of the volume.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
backloggedStorageBytes
public final Long backloggedStorageBytes()
The size of the replication backlog in bytes.
- Returns:
- The size of the replication backlog in bytes.
-
deviceName
public final String deviceName()
The name of the device.
- Returns:
- The name of the device.
-
replicatedStorageBytes
public final Long replicatedStorageBytes()
The amount of data replicated so far in bytes.
- Returns:
- The amount of data replicated so far in bytes.
-
rescannedStorageBytes
public final Long rescannedStorageBytes()
The amount of data to be rescanned in bytes.
- Returns:
- The amount of data to be rescanned in bytes.
-
totalStorageBytes
public final Long totalStorageBytes()
The total amount of data to be replicated in bytes.
- Returns:
- The total amount of data to be replicated in bytes.
-
volumeStatus
public final VolumeStatus volumeStatus()
The status of the volume.
If the service returns an enum value that is not available in the current SDK version,
volumeStatuswill returnVolumeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvolumeStatusAsString().- Returns:
- The status of the volume.
- See Also:
VolumeStatus
-
volumeStatusAsString
public final String volumeStatusAsString()
The status of the volume.
If the service returns an enum value that is not available in the current SDK version,
volumeStatuswill returnVolumeStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromvolumeStatusAsString().- Returns:
- The status of the volume.
- See Also:
VolumeStatus
-
toBuilder
public DataReplicationInfoReplicatedDisk.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataReplicationInfoReplicatedDisk.Builder,DataReplicationInfoReplicatedDisk>
-
builder
public static DataReplicationInfoReplicatedDisk.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataReplicationInfoReplicatedDisk.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-