Interface CreateVolumeRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateVolumeRequest.Builder,,- CreateVolumeRequest> - SdkBuilder<CreateVolumeRequest.Builder,,- CreateVolumeRequest> - SdkPojo,- SdkRequest.Builder,- WorkspacesInstancesRequest.Builder
- Enclosing class:
- CreateVolumeRequest
@Mutable
@NotThreadSafe
public static interface CreateVolumeRequest.Builder
extends WorkspacesInstancesRequest.Builder, SdkPojo, CopyableBuilder<CreateVolumeRequest.Builder,CreateVolumeRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) Availability zone for the volume.clientToken(String clientToken) Unique token to prevent duplicate volume creation.Indicates if the volume should be encrypted.Input/output operations per second for the volume.KMS key for volume encryption.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Volume size in gigabytes.snapshotId(String snapshotId) Source snapshot for volume creation.tagSpecifications(Collection<TagSpecification> tagSpecifications) Metadata tags for the volume.tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) Metadata tags for the volume.tagSpecifications(TagSpecification... tagSpecifications) Metadata tags for the volume.throughput(Integer throughput) Volume throughput performance.volumeType(String volumeType) Type of EBS volume.volumeType(VolumeTypeEnum volumeType) Type of EBS volume.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.workspacesinstances.model.WorkspacesInstancesRequest.Builderbuild
- 
Method Details- 
availabilityZoneAvailability zone for the volume. - Parameters:
- availabilityZone- Availability zone for the volume.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
clientTokenUnique token to prevent duplicate volume creation. - Parameters:
- clientToken- Unique token to prevent duplicate volume creation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
encryptedIndicates if the volume should be encrypted. - Parameters:
- encrypted- Indicates if the volume should be encrypted.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
iopsInput/output operations per second for the volume. - Parameters:
- iops- Input/output operations per second for the volume.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
kmsKeyIdKMS key for volume encryption. - Parameters:
- kmsKeyId- KMS key for volume encryption.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
sizeInGBVolume size in gigabytes. - Parameters:
- sizeInGB- Volume size in gigabytes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
snapshotIdSource snapshot for volume creation. - Parameters:
- snapshotId- Source snapshot for volume creation.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagSpecificationsMetadata tags for the volume. - Parameters:
- tagSpecifications- Metadata tags for the volume.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagSpecificationsMetadata tags for the volume. - Parameters:
- tagSpecifications- Metadata tags for the volume.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tagSpecificationsCreateVolumeRequest.Builder tagSpecifications(Consumer<TagSpecification.Builder>... tagSpecifications) Metadata tags for the volume. This is a convenience method that creates an instance of theTagSpecification.Builderavoiding the need to create one manually viaTagSpecification.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totagSpecifications(List<TagSpecification>).- Parameters:
- tagSpecifications- a consumer that will call methods on- TagSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
throughputVolume throughput performance. - Parameters:
- throughput- Volume throughput performance.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
volumeTypeType of EBS volume. - Parameters:
- volumeType- Type of EBS volume.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
volumeTypeType of EBS volume. - Parameters:
- volumeType- Type of EBS volume.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationCreateVolumeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateVolumeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-