public static interface StorediSCSIVolume.Builder extends SdkPojo, CopyableBuilder<StorediSCSIVolume.Builder,StorediSCSIVolume>
Modifier and Type | Method and Description |
---|---|
StorediSCSIVolume.Builder |
createdDate(Instant createdDate)
The date the volume was created.
|
StorediSCSIVolume.Builder |
kmsKey(String kmsKey)
Sets the value of the KMSKey property for this object.
|
StorediSCSIVolume.Builder |
preservedExistingData(Boolean preservedExistingData)
Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.
|
StorediSCSIVolume.Builder |
sourceSnapshotId(String sourceSnapshotId)
If the stored volume was created from a snapshot, this field contains the snapshot ID used, e.g.
|
StorediSCSIVolume.Builder |
volumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the storage volume.
|
StorediSCSIVolume.Builder |
volumeDiskId(String volumeDiskId)
The ID of the local disk that was specified in the CreateStorediSCSIVolume operation.
|
StorediSCSIVolume.Builder |
volumeId(String volumeId)
The unique identifier of the volume, e.g.
|
default StorediSCSIVolume.Builder |
volumeiSCSIAttributes(Consumer<VolumeiSCSIAttributes.Builder> volumeiSCSIAttributes)
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored
volume.
|
StorediSCSIVolume.Builder |
volumeiSCSIAttributes(VolumeiSCSIAttributes volumeiSCSIAttributes)
An VolumeiSCSIAttributes object that represents a collection of iSCSI attributes for one stored
volume.
|
StorediSCSIVolume.Builder |
volumeProgress(Double volumeProgress)
Represents the percentage complete if the volume is restoring or bootstrapping that represents the percent of
data transferred.
|
StorediSCSIVolume.Builder |
volumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes.
|
StorediSCSIVolume.Builder |
volumeStatus(String volumeStatus)
One of the VolumeStatus values that indicates the state of the storage volume.
|
StorediSCSIVolume.Builder |
volumeType(String volumeType)
One of the VolumeType enumeration values describing the type of the volume.
|
StorediSCSIVolume.Builder |
volumeUsedInBytes(Long volumeUsedInBytes)
The size of the data stored on the volume in bytes.
|
copy
applyMutation, build
StorediSCSIVolume.Builder volumeARN(String volumeARN)
The Amazon Resource Name (ARN) of the storage volume.
volumeARN
- The Amazon Resource Name (ARN) of the storage volume.StorediSCSIVolume.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.StorediSCSIVolume.Builder volumeType(String volumeType)
One of the VolumeType enumeration values describing the type of the volume.
volumeType
- One of the VolumeType enumeration values describing the type of the volume.StorediSCSIVolume.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.StorediSCSIVolume.Builder volumeSizeInBytes(Long volumeSizeInBytes)
The size of the volume in bytes.
volumeSizeInBytes
- The size of the volume in bytes.StorediSCSIVolume.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 stored 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 stored volume is not
restoring or bootstrapping.StorediSCSIVolume.Builder volumeDiskId(String volumeDiskId)
The ID of the local disk that was specified in the CreateStorediSCSIVolume operation.
volumeDiskId
- The ID of the local disk that was specified in the CreateStorediSCSIVolume operation.StorediSCSIVolume.Builder sourceSnapshotId(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.
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.StorediSCSIVolume.Builder preservedExistingData(Boolean preservedExistingData)
Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.
Valid Values: true, false
preservedExistingData
- Indicates if when the stored volume was created, existing data on the underlying local disk was
preserved.
Valid Values: true, false
StorediSCSIVolume.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 StorediSCSIVolume.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)
StorediSCSIVolume.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.StorediSCSIVolume.Builder volumeUsedInBytes(Long volumeUsedInBytes)
The size of the data stored on the volume in bytes.
This value is not available for volumes created prior to May 13, 2015, until you store data on the volume.
volumeUsedInBytes
- The size of the data stored on the volume in bytes. This value is not available for volumes created prior to May 13, 2015, until you store data on the volume.
StorediSCSIVolume.Builder kmsKey(String kmsKey)
kmsKey
- The new value for the KMSKey property for this object.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.