Interface CreateLocationNfsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLocationNfsRequest.Builder,
,CreateLocationNfsRequest> DataSyncRequest.Builder
,SdkBuilder<CreateLocationNfsRequest.Builder,
,CreateLocationNfsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLocationNfsRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateLocationNfsRequest.Builder
mountOptions
(Consumer<NfsMountOptions.Builder> mountOptions) Specifies the options that DataSync can use to mount your NFS file server.mountOptions
(NfsMountOptions mountOptions) Specifies the options that DataSync can use to mount your NFS file server.default CreateLocationNfsRequest.Builder
onPremConfig
(Consumer<OnPremConfig.Builder> onPremConfig) Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.onPremConfig
(OnPremConfig onPremConfig) Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.serverHostname
(String serverHostname) Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.subdirectory
(String subdirectory) Specifies the export path in your NFS file server that you want DataSync to mount.tags
(Collection<TagListEntry> tags) Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.tags
(Consumer<TagListEntry.Builder>... tags) Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.tags
(TagListEntry... tags) Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.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
-
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.
-
serverHostname
Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.
- Parameters:
serverHostname
- Specifies the Domain Name System (DNS) name or IP version 4 address of the NFS file server that your DataSync agent connects to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPremConfig
Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.
You can specify more than one agent. For more information, see Using multiple agents for transfers.
- Parameters:
onPremConfig
- Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.You can specify more than one agent. For more information, see Using multiple agents for transfers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onPremConfig
Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.
You can specify more than one agent. For more information, see Using multiple agents for transfers.
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
Specifies the options that DataSync can use to mount your NFS file server.
- Parameters:
mountOptions
- Specifies the options that DataSync can use to mount your NFS file server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountOptions
default CreateLocationNfsRequest.Builder mountOptions(Consumer<NfsMountOptions.Builder> mountOptions) Specifies the options that DataSync can use to mount your NFS file server.
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:
-
tags
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
- Parameters:
tags
- Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
- Parameters:
tags
- Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources. We recommend creating at least a name tag for your location.
This is a convenience method that creates an instance of theTagListEntry.Builder
avoiding the need to create one manually viaTagListEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<TagListEntry>)
.- Parameters:
tags
- a consumer that will call methods onTagListEntry.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateLocationNfsRequest.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
CreateLocationNfsRequest.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.
-