public static final class CfnLocationHDFSProps.Builder
extends java.lang.Object
CfnLocationHDFSProps
Constructor and Description |
---|
Builder() |
public CfnLocationHDFSProps.Builder agentArns(java.util.List<java.lang.String> agentArns)
CfnLocationHDFSProps.getAgentArns()
agentArns
- The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster. This parameter is required.this
public CfnLocationHDFSProps.Builder authenticationType(java.lang.String authenticationType)
CfnLocationHDFSProps.getAuthenticationType()
authenticationType
- `AWS::DataSync::LocationHDFS.AuthenticationType`. This parameter is required.this
public CfnLocationHDFSProps.Builder nameNodes(IResolvable nameNodes)
CfnLocationHDFSProps.getNameNodes()
nameNodes
- The NameNode that manages the HDFS namespace. This parameter is required.
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
public CfnLocationHDFSProps.Builder nameNodes(java.util.List<? extends java.lang.Object> nameNodes)
CfnLocationHDFSProps.getNameNodes()
nameNodes
- The NameNode that manages the HDFS namespace. This parameter is required.
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
public CfnLocationHDFSProps.Builder blockSize(java.lang.Number blockSize)
CfnLocationHDFSProps.getBlockSize()
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).this
public CfnLocationHDFSProps.Builder kerberosKeytab(java.lang.String kerberosKeytab)
CfnLocationHDFSProps.getKerberosKeytab()
kerberosKeytab
- The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys.
Provide the base64-encoded file text. If KERBEROS
is specified for AuthType
, this value is required.this
public CfnLocationHDFSProps.Builder kerberosKrb5Conf(java.lang.String kerberosKrb5Conf)
CfnLocationHDFSProps.getKerberosKrb5Conf()
kerberosKrb5Conf
- The `krb5.conf` file that contains the Kerberos configuration information. You can load the `krb5.conf` by providing a string of the file's contents or an Amazon S3 presigned URL of the file. If `KERBEROS` is specified for `AuthType` , this value is required.this
public CfnLocationHDFSProps.Builder kerberosPrincipal(java.lang.String kerberosPrincipal)
CfnLocationHDFSProps.getKerberosPrincipal()
kerberosPrincipal
- The Kerberos principal with access to the files and folders on the HDFS cluster.
If
KERBEROS
is specified forAuthenticationType
, this parameter is required.
this
public CfnLocationHDFSProps.Builder kmsKeyProviderUri(java.lang.String kmsKeyProviderUri)
CfnLocationHDFSProps.getKmsKeyProviderUri()
kmsKeyProviderUri
- The URI of the HDFS cluster's Key Management Server (KMS).this
public CfnLocationHDFSProps.Builder qopConfiguration(IResolvable qopConfiguration)
CfnLocationHDFSProps.getQopConfiguration()
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
public CfnLocationHDFSProps.Builder qopConfiguration(CfnLocationHDFS.QopConfigurationProperty qopConfiguration)
CfnLocationHDFSProps.getQopConfiguration()
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
public CfnLocationHDFSProps.Builder replicationFactor(java.lang.Number replicationFactor)
CfnLocationHDFSProps.getReplicationFactor()
replicationFactor
- The number of DataNodes to replicate the data to when writing to the HDFS cluster.
By default, data is replicated to three DataNodes.this
public CfnLocationHDFSProps.Builder simpleUser(java.lang.String simpleUser)
CfnLocationHDFSProps.getSimpleUser()
simpleUser
- The user name used to identify the client on the host operating system.
If
SIMPLE
is specified forAuthenticationType
, this parameter is required.
this
public CfnLocationHDFSProps.Builder subdirectory(java.lang.String subdirectory)
CfnLocationHDFSProps.getSubdirectory()
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 /
.this
public CfnLocationHDFSProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnLocationHDFSProps.getTags()
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
public CfnLocationHDFSProps build()
CfnLocationHDFSProps
java.lang.NullPointerException
- if any required attribute was not provided