Interface VolumeInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<VolumeInfo.Builder,VolumeInfo>,SdkBuilder<VolumeInfo.Builder,VolumeInfo>,SdkPojo
- Enclosing class:
- VolumeInfo
public static interface VolumeInfo.Builder extends SdkPojo, CopyableBuilder<VolumeInfo.Builder,VolumeInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VolumeInfo.BuildergatewayARN(String gatewayARN)Sets the value of the GatewayARN property for this object.VolumeInfo.BuildergatewayId(String gatewayId)The unique identifier assigned to your gateway during activation.VolumeInfo.BuildervolumeARN(String volumeARN)The Amazon Resource Name (ARN) for the storage volume.VolumeInfo.BuildervolumeAttachmentStatus(String volumeAttachmentStatus)One of the VolumeStatus values that indicates the state of the storage volume.VolumeInfo.BuildervolumeId(String volumeId)The unique identifier assigned to the volume.VolumeInfo.BuildervolumeSizeInBytes(Long volumeSizeInBytes)The size of the volume in bytes.VolumeInfo.BuildervolumeType(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 Detail
-
volumeARN
VolumeInfo.Builder volumeARN(String 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-1122AABBValid 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-1122AABBValid 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
VolumeInfo.Builder volumeId(String 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
VolumeInfo.Builder gatewayARN(String 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
VolumeInfo.Builder gatewayId(String 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
VolumeInfo.Builder volumeType(String 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
VolumeInfo.Builder volumeSizeInBytes(Long 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
VolumeInfo.Builder volumeAttachmentStatus(String 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.
-
-