Interface UpdateLocationNfsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateLocationNfsRequest.Builder,,UpdateLocationNfsRequest> DataSyncRequest.Builder,SdkBuilder<UpdateLocationNfsRequest.Builder,,UpdateLocationNfsRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateLocationNfsRequest
-
Method Summary
Modifier and TypeMethodDescriptionlocationArn(String locationArn) Specifies the Amazon Resource Name (ARN) of the NFS transfer location that you want to update.default UpdateLocationNfsRequest.BuildermountOptions(Consumer<NfsMountOptions.Builder> mountOptions) Sets the value of the MountOptions property for this object.mountOptions(NfsMountOptions mountOptions) Sets the value of the MountOptions property for this object.default UpdateLocationNfsRequest.BuilderonPremConfig(Consumer<OnPremConfig.Builder> onPremConfig) Sets the value of the OnPremConfig property for this object.onPremConfig(OnPremConfig onPremConfig) Sets the value of the OnPremConfig property for this object.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.subdirectory(String subdirectory) Specifies the export path in your NFS file server that you want DataSync to mount.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, sdkFields
-
Method Details
-
locationArn
Specifies the Amazon Resource Name (ARN) of the NFS transfer location that you want to update.
- Parameters:
locationArn- Specifies the Amazon Resource Name (ARN) of the NFS transfer location that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subdirectory
Specifies the export path in your NFS file server that you want DataSync to mount.
This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers.
- Parameters:
subdirectory- Specifies the export path in your NFS file server that you want DataSync to mount.This path (or a subdirectory of the path) is where DataSync transfers data to or from. For information on configuring an export for DataSync, see Accessing NFS file servers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPremConfig
Sets the value of the OnPremConfig property for this object.- Parameters:
onPremConfig- The new value for the OnPremConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPremConfig
Sets the value of the OnPremConfig property for this object. This is a convenience method that creates an instance of theOnPremConfig.Builderavoiding the need to create one manually viaOnPremConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toonPremConfig(OnPremConfig).- Parameters:
onPremConfig- a consumer that will call methods onOnPremConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
mountOptions
Sets the value of the MountOptions property for this object.- Parameters:
mountOptions- The new value for the MountOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountOptions
default UpdateLocationNfsRequest.Builder mountOptions(Consumer<NfsMountOptions.Builder> mountOptions) Sets the value of the MountOptions property for this object. This is a convenience method that creates an instance of theNfsMountOptions.Builderavoiding the need to create one manually viaNfsMountOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomountOptions(NfsMountOptions).- Parameters:
mountOptions- a consumer that will call methods onNfsMountOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateLocationNfsRequest.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
UpdateLocationNfsRequest.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.
-