Interface CreateLocationNfsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateLocationNfsRequest.Builder,CreateLocationNfsRequest>,DataSyncRequest.Builder,SdkBuilder<CreateLocationNfsRequest.Builder,CreateLocationNfsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateLocationNfsRequest
public static interface CreateLocationNfsRequest.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<CreateLocationNfsRequest.Builder,CreateLocationNfsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateLocationNfsRequest.BuildermountOptions(Consumer<NfsMountOptions.Builder> mountOptions)Specifies the options that DataSync can use to mount your NFS file server.CreateLocationNfsRequest.BuildermountOptions(NfsMountOptions mountOptions)Specifies the options that DataSync can use to mount your NFS file server.default CreateLocationNfsRequest.BuilderonPremConfig(Consumer<OnPremConfig.Builder> onPremConfig)Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.CreateLocationNfsRequest.BuilderonPremConfig(OnPremConfig onPremConfig)Specifies the Amazon Resource Name (ARN) of the DataSync agent that want to connect to your NFS file server.CreateLocationNfsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateLocationNfsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateLocationNfsRequest.BuilderserverHostname(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.CreateLocationNfsRequest.Buildersubdirectory(String subdirectory)Specifies the export path in your NFS file server that you want DataSync to mount.CreateLocationNfsRequest.Buildertags(Collection<TagListEntry> tags)Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.CreateLocationNfsRequest.Buildertags(Consumer<TagListEntry.Builder>... tags)Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.CreateLocationNfsRequest.Buildertags(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 Detail
-
subdirectory
CreateLocationNfsRequest.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.
-
serverHostname
CreateLocationNfsRequest.Builder 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.
- 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
CreateLocationNfsRequest.Builder onPremConfig(OnPremConfig 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
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.
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.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
CreateLocationNfsRequest.Builder mountOptions(NfsMountOptions 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.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)
-
tags
CreateLocationNfsRequest.Builder tags(Collection<TagListEntry> 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
CreateLocationNfsRequest.Builder tags(TagListEntry... 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
CreateLocationNfsRequest.Builder tags(Consumer<TagListEntry.Builder>... 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.Builderavoiding the need to create one manually viaTagListEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateLocationNfsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateLocationNfsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-