Interface CreateLocationHdfsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLocationHdfsRequest.Builder,
,CreateLocationHdfsRequest> DataSyncRequest.Builder
,SdkBuilder<CreateLocationHdfsRequest.Builder,
,CreateLocationHdfsRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLocationHdfsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.agentArns
(Collection<String> agentArns) The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.authenticationType
(String authenticationType) The type of authentication used to determine the identity of the user.authenticationType
(HdfsAuthenticationType authenticationType) The type of authentication used to determine the identity of the user.The size of data blocks to write into the HDFS cluster.kerberosKeytab
(SdkBytes kerberosKeytab) The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys.kerberosKrb5Conf
(SdkBytes kerberosKrb5Conf) Thekrb5.conf
file that contains the Kerberos configuration information.kerberosPrincipal
(String kerberosPrincipal) The Kerberos principal with access to the files and folders on the HDFS cluster.kmsKeyProviderUri
(String kmsKeyProviderUri) The URI of the HDFS cluster's Key Management Server (KMS).nameNodes
(Collection<HdfsNameNode> nameNodes) The NameNode that manages the HDFS namespace.nameNodes
(Consumer<HdfsNameNode.Builder>... nameNodes) The NameNode that manages the HDFS namespace.nameNodes
(HdfsNameNode... nameNodes) The NameNode that manages the HDFS namespace.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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.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.replicationFactor
(Integer replicationFactor) The number of DataNodes to replicate the data to when writing to the HDFS cluster.simpleUser
(String simpleUser) The user name used to identify the client on the host operating system.subdirectory
(String subdirectory) A subdirectory in the HDFS cluster.tags
(Collection<TagListEntry> tags) The key-value pair that represents the tag that you want to add to the location.tags
(Consumer<TagListEntry.Builder>... tags) The key-value pair that represents the tag that you want to add to the location.tags
(TagListEntry... tags) The key-value pair that represents the tag that you want to add to the location.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, sdkFields
-
Method Details
-
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 theHdfsNameNode.Builder
avoiding the need to create one manually viaHdfsNameNode.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonameNodes(List<HdfsNameNode>)
.- Parameters:
nameNodes
- a consumer that will call methods onHdfsNameNode.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
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
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
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
andDataTransferProtection
default toPRIVACY
. If you setRpcProtection
orDataTransferProtection
, 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. IfQopConfiguration
isn't specified,RpcProtection
andDataTransferProtection
default toPRIVACY
. If you setRpcProtection
orDataTransferProtection
, 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
This is a convenience method that creates an instance of theQopConfiguration
isn't specified,RpcProtection
andDataTransferProtection
default toPRIVACY
. If you setRpcProtection
orDataTransferProtection
, the other parameter assumes the same value.QopConfiguration.Builder
avoiding the need to create one manually viaQopConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqopConfiguration(QopConfiguration)
.- Parameters:
qopConfiguration
- a consumer that will call methods onQopConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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
The user name used to identify the client on the host operating system.
If
SIMPLE
is specified forAuthenticationType
, this parameter is required.- Parameters:
simpleUser
- The user name used to identify the client on the host operating system.If
SIMPLE
is specified forAuthenticationType
, this parameter is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kerberosPrincipal
The Kerberos principal with access to the files and folders on the HDFS cluster.
If
KERBEROS
is specified forAuthenticationType
, this parameter is required.- Parameters:
kerberosPrincipal
- The Kerberos principal with access to the files and folders on the HDFS cluster.If
KERBEROS
is specified forAuthenticationType
, this parameter is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 forAuthenticationType
, 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 forAuthenticationType
, this parameter is required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kerberosKrb5Conf
The
krb5.conf
file that contains the Kerberos configuration information. You can load thekrb5.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 forAuthenticationType
, this parameter is required.- Parameters:
kerberosKrb5Conf
- Thekrb5.conf
file that contains the Kerberos configuration information. You can load thekrb5.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 forAuthenticationType
, 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
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 theTagListEntry.Builder
avoiding the need to create one manually viaTagListEntry.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<TagListEntry>)
.- 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:
-
overrideConfiguration
CreateLocationHdfsRequest.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
CreateLocationHdfsRequest.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.
-