Interface UpdateLocationSmbRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateLocationSmbRequest.Builder,
,UpdateLocationSmbRequest> DataSyncRequest.Builder
,SdkBuilder<UpdateLocationSmbRequest.Builder,
,UpdateLocationSmbRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateLocationSmbRequest
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the DataSync agent (or agents) that can connect to your SMB file server.agentArns
(Collection<String> agentArns) Specifies the DataSync agent (or agents) that can connect to your SMB file server.authenticationType
(String authenticationType) Specifies the authentication protocol that DataSync uses to connect to your SMB file server.authenticationType
(SmbAuthenticationType authenticationType) Specifies the authentication protocol that DataSync uses to connect to your SMB file server.dnsIpAddresses
(String... dnsIpAddresses) Specifies the IP addresses (IPv4 or IPv6) for the DNS servers that your SMB file server belongs to.dnsIpAddresses
(Collection<String> dnsIpAddresses) Specifies the IP addresses (IPv4 or IPv6) for the DNS servers that your SMB file server belongs to.Specifies the Windows domain name that your SMB file server belongs to.kerberosKeytab
(SdkBytes kerberosKeytab) Specifies your Kerberos key table (keytab) file, which includes mappings between your Kerberos principal and encryption keys.kerberosKrb5Conf
(SdkBytes kerberosKrb5Conf) Specifies a Kerberos configuration file (krb5.conf
) that defines your Kerberos realm configuration.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.locationArn
(String locationArn) Specifies the ARN of the SMB location that you want to update.default UpdateLocationSmbRequest.Builder
mountOptions
(Consumer<SmbMountOptions.Builder> mountOptions) Sets the value of the MountOptions property for this object.mountOptions
(SmbMountOptions mountOptions) Sets the value of the MountOptions property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.serverHostname
(String serverHostname) Specifies the domain name or IP address (IPv4 or IPv6) of the SMB file server that your DataSync agent connects to.subdirectory
(String subdirectory) Specifies the name of the share exported by your SMB file server where DataSync will read or write data.Specifies the user name that can mount your SMB file server and has permission to access the files and folders involved in your transfer.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 Details
-
locationArn
Specifies the ARN of the SMB location that you want to update.
- Parameters:
locationArn
- Specifies the ARN of the SMB location that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 specified 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 specified 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
Specifies the domain name or IP address (IPv4 or IPv6) of the SMB file server that your DataSync agent connects to.
If you're using Kerberos authentication, you must specify a domain name.
- Parameters:
serverHostname
- Specifies the domain name or IP address (IPv4 or IPv6) of the SMB file server that your DataSync agent connects to.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
Specifies the user name that can mount your SMB file server and has permission to access the files and folders involved in your transfer. This parameter applies only if
AuthenticationType
is 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 name that can mount your SMB file server and has permission to access the files and folders involved in your transfer. This parameter applies only ifAuthenticationType
is 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
Specifies the Windows domain name that your SMB file server belongs to. This parameter applies only if
AuthenticationType
is 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 ifAuthenticationType
is 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
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
AuthenticationType
is 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 ifAuthenticationType
is set toNTLM
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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
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 UpdateLocationSmbRequest.Builder mountOptions(Consumer<SmbMountOptions.Builder> mountOptions) Sets the value of the MountOptions property for this object. This is a convenience method that creates an instance of theSmbMountOptions.Builder
avoiding the need to create one manually viaSmbMountOptions.builder()
.When the
Consumer
completes,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:
-
authenticationType
Specifies the authentication protocol that DataSync uses to connect to your SMB file server. DataSync supports
NTLM
(default) andKERBEROS
authentication.For more information, see Providing DataSync access to SMB file servers.
- Parameters:
authenticationType
- Specifies the authentication protocol that DataSync uses to connect to your SMB file server. DataSync supportsNTLM
(default) andKERBEROS
authentication.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.
- See Also:
-
authenticationType
Specifies the authentication protocol that DataSync uses to connect to your SMB file server. DataSync supports
NTLM
(default) andKERBEROS
authentication.For more information, see Providing DataSync access to SMB file servers.
- Parameters:
authenticationType
- Specifies the authentication protocol that DataSync uses to connect to your SMB file server. DataSync supportsNTLM
(default) andKERBEROS
authentication.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.
- See Also:
-
dnsIpAddresses
Specifies the IP addresses (IPv4 or IPv6) for the DNS servers that your SMB file server belongs to. This parameter applies only if
AuthenticationType
is 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 IP addresses (IPv4 or IPv6) for the DNS servers that your SMB file server belongs to. This parameter applies only ifAuthenticationType
is 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
Specifies the IP addresses (IPv4 or IPv6) for the DNS servers that your SMB file server belongs to. This parameter applies only if
AuthenticationType
is 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 IP addresses (IPv4 or IPv6) for the DNS servers that your SMB file server belongs to. This parameter applies only ifAuthenticationType
is 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
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@MYDOMAIN.ORG
.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@MYDOMAIN.ORG
.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
Specifies your Kerberos key table (keytab) file, which includes mappings between your Kerberos principal and encryption keys.
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.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
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
UpdateLocationSmbRequest.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
UpdateLocationSmbRequest.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.
-