Interface CreateLocationSmbRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateLocationSmbRequest.Builder,CreateLocationSmbRequest>,DataSyncRequest.Builder,SdkBuilder<CreateLocationSmbRequest.Builder,CreateLocationSmbRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateLocationSmbRequest
public static interface CreateLocationSmbRequest.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<CreateLocationSmbRequest.Builder,CreateLocationSmbRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateLocationSmbRequest.BuilderagentArns(String... agentArns)Specifies the DataSync agent (or agents) that can connect to your SMB file server.CreateLocationSmbRequest.BuilderagentArns(Collection<String> agentArns)Specifies the DataSync agent (or agents) that can connect to your SMB file server.CreateLocationSmbRequest.BuilderauthenticationType(String authenticationType)Specifies the authentication protocol that DataSync uses to connect to your SMB file server.CreateLocationSmbRequest.BuilderauthenticationType(SmbAuthenticationType authenticationType)Specifies the authentication protocol that DataSync uses to connect to your SMB file server.CreateLocationSmbRequest.BuilderdnsIpAddresses(String... dnsIpAddresses)Specifies the IPv4 addresses for the DNS servers that your SMB file server belongs to.CreateLocationSmbRequest.BuilderdnsIpAddresses(Collection<String> dnsIpAddresses)Specifies the IPv4 addresses for the DNS servers that your SMB file server belongs to.CreateLocationSmbRequest.Builderdomain(String domain)Specifies the Windows domain name that your SMB file server belongs to.CreateLocationSmbRequest.BuilderkerberosKeytab(SdkBytes kerberosKeytab)Specifies your Kerberos key table (keytab) file, which includes mappings between your Kerberos principal and encryption keys.CreateLocationSmbRequest.BuilderkerberosKrb5Conf(SdkBytes kerberosKrb5Conf)Specifies a Kerberos configuration file (krb5.conf) that defines your Kerberos realm configuration.CreateLocationSmbRequest.BuilderkerberosPrincipal(String kerberosPrincipal)Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm that has permission to access the files, folders, and file metadata in your SMB file server.default CreateLocationSmbRequest.BuildermountOptions(Consumer<SmbMountOptions.Builder> mountOptions)Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.CreateLocationSmbRequest.BuildermountOptions(SmbMountOptions mountOptions)Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.CreateLocationSmbRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateLocationSmbRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateLocationSmbRequest.Builderpassword(String password)Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer.CreateLocationSmbRequest.BuilderserverHostname(String serverHostname)Specifies the domain name or IP address of the SMB file server that your DataSync agent will mount.CreateLocationSmbRequest.Buildersubdirectory(String subdirectory)Specifies the name of the share exported by your SMB file server where DataSync will read or write data.CreateLocationSmbRequest.Buildertags(Collection<TagListEntry> tags)Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.CreateLocationSmbRequest.Buildertags(Consumer<TagListEntry.Builder>... tags)Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.CreateLocationSmbRequest.Buildertags(TagListEntry... tags)Specifies labels that help you categorize, filter, and search for your Amazon Web Services resources.CreateLocationSmbRequest.Builderuser(String user)Specifies the user that can mount and access the files, folders, and file metadata in your SMB file server.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
subdirectory
CreateLocationSmbRequest.Builder subdirectory(String subdirectory)
Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example,
/path/to/subdirectory). Make sure that other SMB clients in your network can also mount this path.To copy all data in the subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see Providing DataSync access to SMB file servers.
- Parameters:
subdirectory- Specifies the name of the share exported by your SMB file server where DataSync will read or write data. You can include a subdirectory in the share path (for example,/path/to/subdirectory). Make sure that other SMB clients in your network can also mount this path.To copy all data in the subdirectory, DataSync must be able to mount the SMB share and access all of its data. For more information, see Providing DataSync access to SMB file servers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverHostname
CreateLocationSmbRequest.Builder serverHostname(String serverHostname)
Specifies the domain name or IP address of the SMB file server that your DataSync agent will mount.
Remember the following when configuring this parameter:
-
You can't specify an IP version 6 (IPv6) address.
-
If you're using Kerberos authentication, you must specify a domain name.
- Parameters:
serverHostname- Specifies the domain name or IP address of the SMB file server that your DataSync agent will mount.Remember the following when configuring this parameter:
-
You can't specify an IP version 6 (IPv6) address.
-
If you're using Kerberos authentication, you must specify a domain name.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
user
CreateLocationSmbRequest.Builder user(String user)
Specifies the user that can mount and access the files, folders, and file metadata in your SMB file server. This parameter applies only if
AuthenticationTypeis set toNTLM.For information about choosing a user with the right level of access for your transfer, see Providing DataSync access to SMB file servers.
- Parameters:
user- Specifies the user that can mount and access the files, folders, and file metadata in your SMB file server. This parameter applies only ifAuthenticationTypeis set toNTLM.For information about choosing a user with the right level of access for your transfer, see Providing DataSync access to SMB file servers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
domain
CreateLocationSmbRequest.Builder domain(String domain)
Specifies the Windows domain name that your SMB file server belongs to. This parameter applies only if
AuthenticationTypeis set toNTLM.If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.
- Parameters:
domain- Specifies the Windows domain name that your SMB file server belongs to. This parameter applies only ifAuthenticationTypeis set toNTLM.If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right file server.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
password
CreateLocationSmbRequest.Builder password(String password)
Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer. This parameter applies only if
AuthenticationTypeis set toNTLM.- Parameters:
password- Specifies the password of the user who can mount your SMB file server and has permission to access the files and folders involved in your transfer. This parameter applies only ifAuthenticationTypeis set toNTLM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentArns
CreateLocationSmbRequest.Builder agentArns(Collection<String> agentArns)
Specifies the DataSync agent (or agents) that can connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).
- Parameters:
agentArns- Specifies the DataSync agent (or agents) that can connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentArns
CreateLocationSmbRequest.Builder agentArns(String... agentArns)
Specifies the DataSync agent (or agents) that can connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).
- Parameters:
agentArns- Specifies the DataSync agent (or agents) that can connect to your SMB file server. You specify an agent by using its Amazon Resource Name (ARN).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountOptions
CreateLocationSmbRequest.Builder mountOptions(SmbMountOptions mountOptions)
Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
- Parameters:
mountOptions- Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mountOptions
default CreateLocationSmbRequest.Builder mountOptions(Consumer<SmbMountOptions.Builder> mountOptions)
Specifies the version of the SMB protocol that DataSync uses to access your SMB file server.
This is a convenience method that creates an instance of theSmbMountOptions.Builderavoiding the need to create one manually viaSmbMountOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomountOptions(SmbMountOptions).- Parameters:
mountOptions- a consumer that will call methods onSmbMountOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
mountOptions(SmbMountOptions)
-
tags
CreateLocationSmbRequest.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
CreateLocationSmbRequest.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
CreateLocationSmbRequest.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)
-
authenticationType
CreateLocationSmbRequest.Builder authenticationType(String authenticationType)
Specifies the authentication protocol that DataSync uses to connect to your SMB file server. DataSync supports
NTLM(default) andKERBEROSauthentication.- Parameters:
authenticationType- Specifies the authentication protocol that DataSync uses to connect to your SMB file server. DataSync supportsNTLM(default) andKERBEROSauthentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SmbAuthenticationType,SmbAuthenticationType
-
authenticationType
CreateLocationSmbRequest.Builder authenticationType(SmbAuthenticationType authenticationType)
Specifies the authentication protocol that DataSync uses to connect to your SMB file server. DataSync supports
NTLM(default) andKERBEROSauthentication.- Parameters:
authenticationType- Specifies the authentication protocol that DataSync uses to connect to your SMB file server. DataSync supportsNTLM(default) andKERBEROSauthentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SmbAuthenticationType,SmbAuthenticationType
-
dnsIpAddresses
CreateLocationSmbRequest.Builder dnsIpAddresses(Collection<String> dnsIpAddresses)
Specifies the IPv4 addresses for the DNS servers that your SMB file server belongs to. This parameter applies only if
AuthenticationTypeis set toKERBEROS.If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right SMB file server.
- Parameters:
dnsIpAddresses- Specifies the IPv4 addresses for the DNS servers that your SMB file server belongs to. This parameter applies only ifAuthenticationTypeis set toKERBEROS.If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right SMB file server.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsIpAddresses
CreateLocationSmbRequest.Builder dnsIpAddresses(String... dnsIpAddresses)
Specifies the IPv4 addresses for the DNS servers that your SMB file server belongs to. This parameter applies only if
AuthenticationTypeis set toKERBEROS.If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right SMB file server.
- Parameters:
dnsIpAddresses- Specifies the IPv4 addresses for the DNS servers that your SMB file server belongs to. This parameter applies only ifAuthenticationTypeis set toKERBEROS.If you have multiple domains in your environment, configuring this parameter makes sure that DataSync connects to the right SMB file server.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kerberosPrincipal
CreateLocationSmbRequest.Builder kerberosPrincipal(String kerberosPrincipal)
Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm that has permission to access the files, folders, and file metadata in your SMB file server.
A Kerberos principal might look like
HOST/kerberosuser@EXAMPLE.COM.Principal names are case sensitive. Your DataSync task execution will fail if the principal that you specify for this parameter doesn’t exactly match the principal that you use to create the keytab file.
- Parameters:
kerberosPrincipal- Specifies a Kerberos prinicpal, which is an identity in your Kerberos realm that has permission to access the files, folders, and file metadata in your SMB file server.A Kerberos principal might look like
HOST/kerberosuser@EXAMPLE.COM.Principal names are case sensitive. Your DataSync task execution will fail if the principal that you specify for this parameter doesn’t exactly match the principal that you use to create the keytab file.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kerberosKeytab
CreateLocationSmbRequest.Builder kerberosKeytab(SdkBytes kerberosKeytab)
Specifies your Kerberos key table (keytab) file, which includes mappings between your Kerberos principal and encryption keys.
The file must be base64 encoded. If you're using the CLI, the encoding is done for you.
To avoid task execution errors, make sure that the Kerberos principal that you use to create the keytab file matches exactly what you specify for
KerberosPrincipal.- Parameters:
kerberosKeytab- Specifies your Kerberos key table (keytab) file, which includes mappings between your Kerberos principal and encryption keys.The file must be base64 encoded. If you're using the CLI, the encoding is done for you.
To avoid task execution errors, make sure that the Kerberos principal that you use to create the keytab file matches exactly what you specify for
KerberosPrincipal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kerberosKrb5Conf
CreateLocationSmbRequest.Builder kerberosKrb5Conf(SdkBytes kerberosKrb5Conf)
Specifies a Kerberos configuration file (
krb5.conf) that defines your Kerberos realm configuration.The file must be base64 encoded. If you're using the CLI, the encoding is done for you.
- Parameters:
kerberosKrb5Conf- Specifies a Kerberos configuration file (krb5.conf) that defines your Kerberos realm configuration.The file must be base64 encoded. If you're using the CLI, the encoding is done for you.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateLocationSmbRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateLocationSmbRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-