Interface UpdateVolumeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateVolumeRequest.Builder,
,UpdateVolumeRequest> FSxRequest.Builder
,SdkBuilder<UpdateVolumeRequest.Builder,
,UpdateVolumeRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateVolumeRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) Sets the value of the ClientRequestToken property for this object.The name of the OpenZFS volume.default UpdateVolumeRequest.Builder
ontapConfiguration
(Consumer<UpdateOntapVolumeConfiguration.Builder> ontapConfiguration) The configuration of the ONTAP volume that you are updating.ontapConfiguration
(UpdateOntapVolumeConfiguration ontapConfiguration) The configuration of the ONTAP volume that you are updating.default UpdateVolumeRequest.Builder
openZFSConfiguration
(Consumer<UpdateOpenZFSVolumeConfiguration.Builder> openZFSConfiguration) The configuration of the OpenZFS volume that you are updating.openZFSConfiguration
(UpdateOpenZFSVolumeConfiguration openZFSConfiguration) The configuration of the OpenZFS volume that you are updating.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The ID of the volume that you want to update, in the formatfsvol-0123456789abcdef0
.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.fsx.model.FSxRequest.Builder
build
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
-
clientRequestToken
Sets the value of the ClientRequestToken property for this object.- Parameters:
clientRequestToken
- The new value for the ClientRequestToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
volumeId
The ID of the volume that you want to update, in the format
fsvol-0123456789abcdef0
.- Parameters:
volumeId
- The ID of the volume that you want to update, in the formatfsvol-0123456789abcdef0
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ontapConfiguration
The configuration of the ONTAP volume that you are updating.
- Parameters:
ontapConfiguration
- The configuration of the ONTAP volume that you are updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ontapConfiguration
default UpdateVolumeRequest.Builder ontapConfiguration(Consumer<UpdateOntapVolumeConfiguration.Builder> ontapConfiguration) The configuration of the ONTAP volume that you are updating.
This is a convenience method that creates an instance of theUpdateOntapVolumeConfiguration.Builder
avoiding the need to create one manually viaUpdateOntapVolumeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toontapConfiguration(UpdateOntapVolumeConfiguration)
.- Parameters:
ontapConfiguration
- a consumer that will call methods onUpdateOntapVolumeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the OpenZFS volume. OpenZFS root volumes are automatically named
FSX
. Child volume names must be unique among their parent volume's children. The name of the volume is part of the mount string for the OpenZFS volume.- Parameters:
name
- The name of the OpenZFS volume. OpenZFS root volumes are automatically namedFSX
. Child volume names must be unique among their parent volume's children. The name of the volume is part of the mount string for the OpenZFS volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openZFSConfiguration
UpdateVolumeRequest.Builder openZFSConfiguration(UpdateOpenZFSVolumeConfiguration openZFSConfiguration) The configuration of the OpenZFS volume that you are updating.
- Parameters:
openZFSConfiguration
- The configuration of the OpenZFS volume that you are updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openZFSConfiguration
default UpdateVolumeRequest.Builder openZFSConfiguration(Consumer<UpdateOpenZFSVolumeConfiguration.Builder> openZFSConfiguration) The configuration of the OpenZFS volume that you are updating.
This is a convenience method that creates an instance of theUpdateOpenZFSVolumeConfiguration.Builder
avoiding the need to create one manually viaUpdateOpenZFSVolumeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopenZFSConfiguration(UpdateOpenZFSVolumeConfiguration)
.- Parameters:
openZFSConfiguration
- a consumer that will call methods onUpdateOpenZFSVolumeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateVolumeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateVolumeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-