public static interface CachediSCSIVolume.Builder extends CopyableBuilder<CachediSCSIVolume.Builder,CachediSCSIVolume>
Modifier and Type | Method and Description |
---|---|
CachediSCSIVolume.Builder |
createdDate(Instant createdDate)
The date the volume was created.
|
CachediSCSIVolume.Builder |
sourceSnapshotId(String sourceSnapshotId)
If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g.
|
CachediSCSIVolume.Builder |
volumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the storage volume.
|
CachediSCSIVolume.Builder |
volumeId(String volumeId)
The unique identifier of the volume, e.g.
|
default CachediSCSIVolume.Builder |
volumeiSCSIAttributes(Consumer<VolumeiSCSIAttributes.Builder> volumeiSCSIAttributes)
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored
volume.
|
CachediSCSIVolume.Builder |
volumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored
volume.
|
CachediSCSIVolume.Builder |
volumeProgress(Double volumeProgress)
Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of
data transferred.
|
CachediSCSIVolume.Builder |
volumeSizeInBytes(Long volumeSizeInBytes)
The size, in bytes, of the volume capacity.
|
CachediSCSIVolume.Builder |
volumeStatus(String volumeStatus)
One of the VolumeStatus values that indicates the state of the storage volume.
|
CachediSCSIVolume.Builder |
volumeType(String volumeType)
One of the VolumeType enumeration values that describes the type of the volume.
|
copy
apply, build
CachediSCSIVolume.Builder volumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the storage volume.
volumeARN
- The Amazon Resource Name (ARN) of the storage volume.CachediSCSIVolume.Builder volumeId(String volumeId)
The unique identifier of the volume, e.g. vol-AE4B946D.
volumeId
- The unique identifier of the volume, e.g. vol-AE4B946D.CachediSCSIVolume.Builder volumeType(String volumeType)
One of the VolumeType enumeration values that describes the type of the volume.
volumeType
- One of the VolumeType enumeration values that describes the type of the volume.CachediSCSIVolume.Builder volumeStatus(String volumeStatus)
One of the VolumeStatus values that indicates the state of the storage volume.
volumeStatus
- One of the VolumeStatus values that indicates the state of the storage volume.CachediSCSIVolume.Builder volumeSizeInBytes(Long volumeSizeInBytes)
The size, in bytes, of the volume capacity.
volumeSizeInBytes
- The size, in bytes, of the volume capacity.CachediSCSIVolume.Builder volumeProgress(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 cached volume is not restoring or bootstrapping.
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 cached volume is not
restoring or bootstrapping.CachediSCSIVolume.Builder sourceSnapshotId(String sourceSnapshotId)
If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g. snap-78e22663. Otherwise, this field is not included.
sourceSnapshotId
- If the cached volume was created from a snapshot, this field contains the snapshot ID used, e.g.
snap-78e22663. Otherwise, this field is not included.CachediSCSIVolume.Builder volumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
volumeiSCSIAttributes
- An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored
volume.default CachediSCSIVolume.Builder volumeiSCSIAttributes(Consumer<VolumeiSCSIAttributes.Builder> volumeiSCSIAttributes)
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored volume.
This is a convenience that creates an instance of theVolumeiSCSIAttributes.Builder
avoiding the need
to create one manually via VolumeiSCSIAttributes.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to volumeiSCSIAttributes(VolumeiSCSIAttributes)
.volumeiSCSIAttributes
- a consumer that will call methods on VolumeiSCSIAttributes.Builder
volumeiSCSIAttributes(VolumeiSCSIAttributes)
CachediSCSIVolume.Builder createdDate(Instant createdDate)
The date the volume was created. Volumes created prior to March 28, 2017 don’t have this time stamp.
createdDate
- The date the volume was created. Volumes created prior to March 28, 2017 don’t have this time stamp.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.