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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateLocationHdfsRequest.BuilderagentArns(String... agentArns)The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.CreateLocationHdfsRequest.BuilderagentArns(Collection<String> agentArns)The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.CreateLocationHdfsRequest.BuilderauthenticationType(String authenticationType)The type of authentication used to determine the identity of the user.CreateLocationHdfsRequest.BuilderauthenticationType(HdfsAuthenticationType authenticationType)The type of authentication used to determine the identity of the user.CreateLocationHdfsRequest.BuilderblockSize(Integer blockSize)The size of data blocks to write into the HDFS cluster.CreateLocationHdfsRequest.BuilderkerberosKeytab(SdkBytes kerberosKeytab)The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys.CreateLocationHdfsRequest.BuilderkerberosKrb5Conf(SdkBytes kerberosKrb5Conf)Thekrb5.conffile that contains the Kerberos configuration information.CreateLocationHdfsRequest.BuilderkerberosPrincipal(String kerberosPrincipal)The Kerberos principal with access to the files and folders on the HDFS cluster.CreateLocationHdfsRequest.BuilderkmsKeyProviderUri(String kmsKeyProviderUri)The URI of the HDFS cluster's Key Management Server (KMS).CreateLocationHdfsRequest.BuildernameNodes(Collection<HdfsNameNode> nameNodes)The NameNode that manages the HDFS namespace.CreateLocationHdfsRequest.BuildernameNodes(Consumer<HdfsNameNode.Builder>... nameNodes)The NameNode that manages the HDFS namespace.CreateLocationHdfsRequest.BuildernameNodes(HdfsNameNode... nameNodes)The NameNode that manages the HDFS namespace.CreateLocationHdfsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateLocationHdfsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default CreateLocationHdfsRequest.BuilderqopConfiguration(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.CreateLocationHdfsRequest.BuilderqopConfiguration(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.CreateLocationHdfsRequest.BuilderreplicationFactor(Integer replicationFactor)The number of DataNodes to replicate the data to when writing to the HDFS cluster.CreateLocationHdfsRequest.BuildersimpleUser(String simpleUser)The user name used to identify the client on the host operating system.CreateLocationHdfsRequest.Buildersubdirectory(String subdirectory)A subdirectory in the HDFS cluster.CreateLocationHdfsRequest.Buildertags(Collection<TagListEntry> tags)The key-value pair that represents the tag that you want to add to the location.CreateLocationHdfsRequest.Buildertags(Consumer<TagListEntry.Builder>... tags)The key-value pair that represents the tag that you want to add to the location.CreateLocationHdfsRequest.Buildertags(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 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 theHdfsNameNode.Builderavoiding the need to create one manually viaHdfsNameNode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#nameNodes(List.) - 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:
#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
QopConfigurationisn't specified,RpcProtectionandDataTransferProtectiondefault toPRIVACY. If you setRpcProtectionorDataTransferProtection, 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. IfQopConfigurationisn't specified,RpcProtectionandDataTransferProtectiondefault toPRIVACY. If you setRpcProtectionorDataTransferProtection, 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 theQopConfigurationisn't specified,RpcProtectionandDataTransferProtectiondefault toPRIVACY. If you setRpcProtectionorDataTransferProtection, the other parameter assumes the same value.QopConfiguration.Builderavoiding the need to create one manually viaQopConfiguration.builder().When the
Consumercompletes,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:
qopConfiguration(QopConfiguration)
-
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
-
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:
HdfsAuthenticationType,HdfsAuthenticationType
-
simpleUser
CreateLocationHdfsRequest.Builder simpleUser(String simpleUser)
The user name used to identify the client on the host operating system.
If
SIMPLEis specified forAuthenticationType, this parameter is required.- Parameters:
simpleUser- The user name used to identify the client on the host operating system.If
SIMPLEis specified forAuthenticationType, 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
KERBEROSis specified forAuthenticationType, this parameter is required.- Parameters:
kerberosPrincipal- The Kerberos principal with access to the files and folders on the HDFS cluster.If
KERBEROSis specified forAuthenticationType, 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
KERBEROSis 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
KERBEROSis specified forAuthenticationType, 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.conffile that contains the Kerberos configuration information. You can load thekrb5.conffile 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
KERBEROSis specified forAuthenticationType, this parameter is required.- Parameters:
kerberosKrb5Conf- Thekrb5.conffile that contains the Kerberos configuration information. You can load thekrb5.conffile 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
KERBEROSis specified forAuthenticationType, 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.
-
tags
CreateLocationHdfsRequest.Builder tags(Consumer<TagListEntry.Builder>... 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.Builderavoiding the need to create one manually viaTagListEntry.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateLocationHdfsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateLocationHdfsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-