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.Builder
mountOptions
(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.Builder
onPremConfig
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.datasync.model.DataSyncRequest.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
-
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.Builder
avoiding the need to create one manually viaOnPremConfig.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaNfsMountOptions.builder()
.When the
Consumer
completes,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.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
UpdateLocationNfsRequest.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.
-