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.BuilderontapConfiguration(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.BuilderopenZFSConfiguration(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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.fsx.model.FSxRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaUpdateOntapVolumeConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaUpdateOpenZFSVolumeConfiguration.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-