Interface CreateLocationHdfsRequest.Builder

    • Method Detail

      • subdirectory

        CreateLocationHdfsRequest.Builder subdirectory​(String subdirectory)

        A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.

        Parameters:
        subdirectory - A subdirectory in the HDFS cluster. This subdirectory is used to read data from or write data to the HDFS cluster. If the subdirectory isn't specified, it will default to /.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nameNodes

        CreateLocationHdfsRequest.Builder nameNodes​(Collection<HdfsNameNode> nameNodes)

        The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode.

        Parameters:
        nameNodes - The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nameNodes

        CreateLocationHdfsRequest.Builder nameNodes​(HdfsNameNode... nameNodes)

        The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode.

        Parameters:
        nameNodes - The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nameNodes

        CreateLocationHdfsRequest.Builder nameNodes​(Consumer<HdfsNameNode.Builder>... nameNodes)

        The NameNode that manages the HDFS namespace. The NameNode performs operations such as opening, closing, and renaming files and directories. The NameNode contains the information to map blocks of data to the DataNodes. You can use only one NameNode.

        This is a convenience method that creates an instance of the HdfsNameNode.Builder avoiding the need to create one manually via HdfsNameNode.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #nameNodes(List).

        Parameters:
        nameNodes - a consumer that will call methods on HdfsNameNode.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #nameNodes(java.util.Collection)
      • blockSize

        CreateLocationHdfsRequest.Builder blockSize​(Integer blockSize)

        The size of data blocks to write into the HDFS cluster. The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).

        Parameters:
        blockSize - The size of data blocks to write into the HDFS cluster. The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • replicationFactor

        CreateLocationHdfsRequest.Builder replicationFactor​(Integer replicationFactor)

        The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.

        Parameters:
        replicationFactor - The number of DataNodes to replicate the data to when writing to the HDFS cluster. By default, data is replicated to three DataNodes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyProviderUri

        CreateLocationHdfsRequest.Builder kmsKeyProviderUri​(String kmsKeyProviderUri)

        The URI of the HDFS cluster's Key Management Server (KMS).

        Parameters:
        kmsKeyProviderUri - The URI of the HDFS cluster's Key Management Server (KMS).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • qopConfiguration

        CreateLocationHdfsRequest.Builder qopConfiguration​(QopConfiguration qopConfiguration)

        The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster. If QopConfiguration isn't specified, RpcProtection and DataTransferProtection default to PRIVACY. If you set RpcProtection or DataTransferProtection, the other parameter assumes the same value.

        Parameters:
        qopConfiguration - The Quality of Protection (QOP) configuration specifies the Remote Procedure Call (RPC) and data transfer protection settings configured on the Hadoop Distributed File System (HDFS) cluster. If QopConfiguration isn't specified, RpcProtection and DataTransferProtection default to PRIVACY. If you set RpcProtection or DataTransferProtection, the other parameter assumes the same value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • authenticationType

        CreateLocationHdfsRequest.Builder authenticationType​(String authenticationType)

        The type of authentication used to determine the identity of the user.

        Parameters:
        authenticationType - The type of authentication used to determine the identity of the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        HdfsAuthenticationType, HdfsAuthenticationType
      • simpleUser

        CreateLocationHdfsRequest.Builder simpleUser​(String simpleUser)

        The user name used to identify the client on the host operating system.

        If SIMPLE is specified for AuthenticationType, this parameter is required.

        Parameters:
        simpleUser - The user name used to identify the client on the host operating system.

        If SIMPLE is specified for AuthenticationType, this parameter is required.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kerberosPrincipal

        CreateLocationHdfsRequest.Builder kerberosPrincipal​(String kerberosPrincipal)

        The Kerberos principal with access to the files and folders on the HDFS cluster.

        If KERBEROS is specified for AuthenticationType, this parameter is required.

        Parameters:
        kerberosPrincipal - The Kerberos principal with access to the files and folders on the HDFS cluster.

        If KERBEROS is specified for AuthenticationType, this parameter is required.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kerberosKeytab

        CreateLocationHdfsRequest.Builder kerberosKeytab​(SdkBytes kerberosKeytab)

        The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. You can load the keytab from a file by providing the file's address. If you're using the CLI, it performs base64 encoding for you. Otherwise, provide the base64-encoded text.

        If KERBEROS is specified for AuthenticationType, this parameter is required.

        Parameters:
        kerberosKeytab - The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. You can load the keytab from a file by providing the file's address. If you're using the CLI, it performs base64 encoding for you. Otherwise, provide the base64-encoded text.

        If KERBEROS is specified for AuthenticationType, this parameter is required.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kerberosKrb5Conf

        CreateLocationHdfsRequest.Builder kerberosKrb5Conf​(SdkBytes kerberosKrb5Conf)

        The krb5.conf file that contains the Kerberos configuration information. You can load the krb5.conf file by providing the file's address. If you're using the CLI, it performs the base64 encoding for you. Otherwise, provide the base64-encoded text.

        If KERBEROS is specified for AuthenticationType, this parameter is required.

        Parameters:
        kerberosKrb5Conf - The krb5.conf file that contains the Kerberos configuration information. You can load the krb5.conf file by providing the file's address. If you're using the CLI, it performs the base64 encoding for you. Otherwise, provide the base64-encoded text.

        If KERBEROS is specified for AuthenticationType, this parameter is required.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • agentArns

        CreateLocationHdfsRequest.Builder agentArns​(Collection<String> agentArns)

        The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.

        Parameters:
        agentArns - The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • agentArns

        CreateLocationHdfsRequest.Builder agentArns​(String... agentArns)

        The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.

        Parameters:
        agentArns - The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateLocationHdfsRequest.Builder tags​(Collection<TagListEntry> tags)

        The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

        Parameters:
        tags - The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateLocationHdfsRequest.Builder tags​(TagListEntry... tags)

        The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.

        Parameters:
        tags - The key-value pair that represents the tag that you want to add to the location. The value can be an empty string. We recommend using tags to name your resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.