Interface UpdateLocationSmbRequest.Builder

    • Method Detail

      • locationArn

        UpdateLocationSmbRequest.Builder locationArn​(String 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

        UpdateLocationSmbRequest.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 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.
      • user

        UpdateLocationSmbRequest.Builder user​(String 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 to NTLM.

        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 if AuthenticationType is set to NTLM.

        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

        UpdateLocationSmbRequest.Builder domain​(String domain)

        Specifies the Windows domain name that your SMB file server belongs to. This parameter applies only if AuthenticationType is set to NTLM.

        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 if AuthenticationType is set to NTLM.

        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

        UpdateLocationSmbRequest.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 AuthenticationType is set to NTLM.

        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 if AuthenticationType is set to NTLM.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • agentArns

        UpdateLocationSmbRequest.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

        UpdateLocationSmbRequest.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

        UpdateLocationSmbRequest.Builder mountOptions​(SmbMountOptions 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.
      • authenticationType

        UpdateLocationSmbRequest.Builder authenticationType​(String authenticationType)

        Specifies the authentication protocol that DataSync uses to connect to your SMB file server. DataSync supports NTLM (default) and KERBEROS authentication.

        Parameters:
        authenticationType - Specifies the authentication protocol that DataSync uses to connect to your SMB file server. DataSync supports NTLM (default) and KERBEROS authentication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SmbAuthenticationType, SmbAuthenticationType
      • authenticationType

        UpdateLocationSmbRequest.Builder authenticationType​(SmbAuthenticationType authenticationType)

        Specifies the authentication protocol that DataSync uses to connect to your SMB file server. DataSync supports NTLM (default) and KERBEROS authentication.

        Parameters:
        authenticationType - Specifies the authentication protocol that DataSync uses to connect to your SMB file server. DataSync supports NTLM (default) and KERBEROS authentication.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        SmbAuthenticationType, SmbAuthenticationType
      • dnsIpAddresses

        UpdateLocationSmbRequest.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 AuthenticationType is set to KERBEROS.

        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 if AuthenticationType is set to KERBEROS.

        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

        UpdateLocationSmbRequest.Builder dnsIpAddresses​(String... dnsIpAddresses)

        Specifies the IPv4 addresses for the DNS servers that your SMB file server belongs to. This parameter applies only if AuthenticationType is set to KERBEROS.

        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 if AuthenticationType is set to KERBEROS.

        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

        UpdateLocationSmbRequest.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

        UpdateLocationSmbRequest.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

        UpdateLocationSmbRequest.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.