@Generated(value="software.amazon.awssdk:codegen") public final class StorediSCSIVolume extends Object implements StructuredPojo, ToCopyableBuilder<StorediSCSIVolume.Builder,StorediSCSIVolume>
Describes an iSCSI stored volume.
Modifier and Type | Class and Description |
---|---|
static interface |
StorediSCSIVolume.Builder |
Modifier and Type | Method and Description |
---|---|
static StorediSCSIVolume.Builder |
builder() |
Instant |
createdDate()
The date the volume was created.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Boolean |
preservedExistingData()
Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.
|
static Class<? extends StorediSCSIVolume.Builder> |
serializableBuilderClass() |
String |
sourceSnapshotId()
If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g.
|
StorediSCSIVolume.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
volumeARN()
The Amazon Resource Name (ARN) of the storage volume.
|
String |
volumeDiskId()
The ID of the local disk that was specified in the CreateStorediSCSIVolume operation.
|
String |
volumeId()
The unique identifier of the volume, e.g.
|
VolumeiSCSIAttributes |
volumeiSCSIAttributes()
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
|
Double |
volumeProgress()
Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of
data transferred.
|
Long |
volumeSizeInBytes()
The size of the volume in bytes.
|
String |
volumeStatus()
One of the VolumeStatus values that indicates the state of the storage volume.
|
String |
volumeType()
One of the VolumeType enumeration values describing the type of the volume.
|
copy
public String volumeARN()
The Amazon Resource Name (ARN) of the storage volume.
public String volumeId()
The unique identifier of the volume, e.g. vol-AE4B946D.
public String volumeType()
One of the VolumeType enumeration values describing the type of the volume.
public String volumeStatus()
One of the VolumeStatus values that indicates the state of the storage volume.
public Long volumeSizeInBytes()
The size of the volume in bytes.
public Double volumeProgress()
Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of data transferred. This field does not appear in the response if the stored volume is not restoring or bootstrapping.
public String volumeDiskId()
The ID of the local disk that was specified in the CreateStorediSCSIVolume operation.
public String sourceSnapshotId()
If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-78e22663. Otherwise, this field is not included.
public Boolean preservedExistingData()
Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.
Valid Values: true, false
Valid Values: true, false
public VolumeiSCSIAttributes volumeiSCSIAttributes()
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
public Instant createdDate()
The date the volume was created. Volumes created prior to March 28, 2017 don’t have this time stamp.
public StorediSCSIVolume.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StorediSCSIVolume.Builder,StorediSCSIVolume>
public static StorediSCSIVolume.Builder builder()
public static Class<? extends StorediSCSIVolume.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.