Interface UpdateLocationNfsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateLocationNfsRequest.Builder,UpdateLocationNfsRequest>,DataSyncRequest.Builder,SdkBuilder<UpdateLocationNfsRequest.Builder,UpdateLocationNfsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateLocationNfsRequest
public static interface UpdateLocationNfsRequest.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<UpdateLocationNfsRequest.Builder,UpdateLocationNfsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateLocationNfsRequest.BuilderlocationArn(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.UpdateLocationNfsRequest.BuildermountOptions(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.UpdateLocationNfsRequest.BuilderonPremConfig(OnPremConfig onPremConfig)Sets the value of the OnPremConfig property for this object.UpdateLocationNfsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateLocationNfsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateLocationNfsRequest.Buildersubdirectory(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 Detail
-
locationArn
UpdateLocationNfsRequest.Builder locationArn(String 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
UpdateLocationNfsRequest.Builder subdirectory(String 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
UpdateLocationNfsRequest.Builder onPremConfig(OnPremConfig 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
default UpdateLocationNfsRequest.Builder onPremConfig(Consumer<OnPremConfig.Builder> 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:
onPremConfig(OnPremConfig)
-
mountOptions
UpdateLocationNfsRequest.Builder mountOptions(NfsMountOptions 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:
mountOptions(NfsMountOptions)
-
overrideConfiguration
UpdateLocationNfsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateLocationNfsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-