Interface CreateLocationHdfsRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateLocationHdfsRequest.Builder,CreateLocationHdfsRequest>, DataSyncRequest.Builder, SdkBuilder<CreateLocationHdfsRequest.Builder,CreateLocationHdfsRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateLocationHdfsRequest

public static interface CreateLocationHdfsRequest.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<CreateLocationHdfsRequest.Builder,CreateLocationHdfsRequest>
  • Method Details

    • 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

      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

      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

      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<HdfsNameNode>).

      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:
    • 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.
    • qopConfiguration

      default CreateLocationHdfsRequest.Builder qopConfiguration(Consumer<QopConfiguration.Builder> 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.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to qopConfiguration(QopConfiguration).

      Parameters:
      qopConfiguration - a consumer that will call methods on QopConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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:
    • authenticationType

      CreateLocationHdfsRequest.Builder authenticationType(HdfsAuthenticationType 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:
    • 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

      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

      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

      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

      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.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<TagListEntry>).

      Parameters:
      tags - a consumer that will call methods on TagListEntry.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateLocationHdfsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.