Interface VolumeInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<VolumeInfo.Builder,
,VolumeInfo> SdkBuilder<VolumeInfo.Builder,
,VolumeInfo> SdkPojo
- Enclosing class:
VolumeInfo
-
Method Summary
Modifier and TypeMethodDescriptiongatewayARN
(String gatewayARN) Sets the value of the GatewayARN property for this object.The unique identifier assigned to your gateway during activation.The Amazon Resource Name (ARN) for the storage volume.volumeAttachmentStatus
(String volumeAttachmentStatus) One of the VolumeStatus values that indicates the state of the storage volume.The unique identifier assigned to the volume.volumeSizeInBytes
(Long volumeSizeInBytes) The size of the volume in bytes.volumeType
(String volumeType) One of the VolumeType enumeration values describing the type of the volume.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
volumeARN
The Amazon Resource Name (ARN) for the storage volume. For example, the following is a valid ARN:
arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Parameters:
volumeARN
- The Amazon Resource Name (ARN) for the storage volume. For example, the following is a valid ARN:arn:aws:storagegateway:us-east-2:111122223333:gateway/sgw-12A3456B/volume/vol-1122AABB
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeId
The unique identifier assigned to the volume. This ID becomes part of the volume Amazon Resource Name (ARN), which you use as input for other operations.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Parameters:
volumeId
- The unique identifier assigned to the volume. This ID becomes part of the volume Amazon Resource Name (ARN), which you use as input for other operations.Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayARN
Sets the value of the GatewayARN property for this object.- Parameters:
gatewayARN
- The new value for the GatewayARN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gatewayId
The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Parameters:
gatewayId
- The unique identifier assigned to your gateway during activation. This ID becomes part of the gateway Amazon Resource Name (ARN), which you use as input for other operations.Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeType
One of the VolumeType enumeration values describing the type of the volume.
- Parameters:
volumeType
- One of the VolumeType enumeration values describing the type of the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeSizeInBytes
The size of the volume in bytes.
Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Parameters:
volumeSizeInBytes
- The size of the volume in bytes.Valid Values: 50 to 500 lowercase letters, numbers, periods (.), and hyphens (-).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeAttachmentStatus
One of the VolumeStatus values that indicates the state of the storage volume.
- Parameters:
volumeAttachmentStatus
- One of the VolumeStatus values that indicates the state of the storage volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-