Interface UpdateLocationFsxOpenZfsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateLocationFsxOpenZfsRequest.Builder,,UpdateLocationFsxOpenZfsRequest> DataSyncRequest.Builder,SdkBuilder<UpdateLocationFsxOpenZfsRequest.Builder,,UpdateLocationFsxOpenZfsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateLocationFsxOpenZfsRequest
@Mutable
@NotThreadSafe
public static interface UpdateLocationFsxOpenZfsRequest.Builder
extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<UpdateLocationFsxOpenZfsRequest.Builder,UpdateLocationFsxOpenZfsRequest>
-
Method Summary
Modifier and TypeMethodDescriptionlocationArn(String locationArn) Specifies the Amazon Resource Name (ARN) of the FSx for OpenZFS transfer location that you're updating.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.protocol(Consumer<FsxProtocol.Builder> protocol) Sets the value of the Protocol property for this object.protocol(FsxProtocol protocol) Sets the value of the Protocol property for this object.subdirectory(String subdirectory) Specifies a subdirectory in the location's path that must begin with/fsx.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.datasync.model.DataSyncRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
locationArn
Specifies the Amazon Resource Name (ARN) of the FSx for OpenZFS transfer location that you're updating.
- Parameters:
locationArn- Specifies the Amazon Resource Name (ARN) of the FSx for OpenZFS transfer location that you're updating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
Sets the value of the Protocol property for this object.- Parameters:
protocol- The new value for the Protocol property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protocol
Sets the value of the Protocol property for this object. This is a convenience method that creates an instance of theFsxProtocol.Builderavoiding the need to create one manually viaFsxProtocol.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprotocol(FsxProtocol).- Parameters:
protocol- a consumer that will call methods onFsxProtocol.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subdirectory
Specifies a subdirectory in the location's path that must begin with
/fsx. DataSync uses this subdirectory to read or write data (depending on whether the file system is a source or destination location).- Parameters:
subdirectory- Specifies a subdirectory in the location's path that must begin with/fsx. DataSync uses this subdirectory to read or write data (depending on whether the file system is a source or destination location).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateLocationFsxOpenZfsRequest.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
UpdateLocationFsxOpenZfsRequest.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.
-