@Stability(value=Stable) public static final class CfnLocationHDFS.Builder extends Object implements software.amazon.jsii.Builder<CfnLocationHDFS>
CfnLocationHDFS.| Modifier and Type | Method and Description |
|---|---|
CfnLocationHDFS.Builder |
agentArns(List<String> agentArns)
The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster.
|
CfnLocationHDFS.Builder |
authenticationType(String authenticationType)
`AWS::DataSync::LocationHDFS.AuthenticationType`.
|
CfnLocationHDFS.Builder |
blockSize(Number blockSize)
The size of data blocks to write into the HDFS cluster.
|
CfnLocationHDFS |
build() |
static CfnLocationHDFS.Builder |
create(software.constructs.Construct scope,
String id) |
CfnLocationHDFS.Builder |
kerberosKeytab(String kerberosKeytab)
The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys.
|
CfnLocationHDFS.Builder |
kerberosKrb5Conf(String kerberosKrb5Conf)
The `krb5.conf` file that contains the Kerberos configuration information.
|
CfnLocationHDFS.Builder |
kerberosPrincipal(String kerberosPrincipal)
The Kerberos principal with access to the files and folders on the HDFS cluster.
|
CfnLocationHDFS.Builder |
kmsKeyProviderUri(String kmsKeyProviderUri)
The URI of the HDFS cluster's Key Management Server (KMS).
|
CfnLocationHDFS.Builder |
nameNodes(IResolvable nameNodes)
The NameNode that manages the HDFS namespace.
|
CfnLocationHDFS.Builder |
nameNodes(List<? extends Object> nameNodes)
The NameNode that manages the HDFS namespace.
|
CfnLocationHDFS.Builder |
qopConfiguration(CfnLocationHDFS.QopConfigurationProperty 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.
|
CfnLocationHDFS.Builder |
qopConfiguration(IResolvable 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.
|
CfnLocationHDFS.Builder |
replicationFactor(Number replicationFactor)
The number of DataNodes to replicate the data to when writing to the HDFS cluster.
|
CfnLocationHDFS.Builder |
simpleUser(String simpleUser)
The user name used to identify the client on the host operating system.
|
CfnLocationHDFS.Builder |
subdirectory(String subdirectory)
A subdirectory in the HDFS cluster.
|
CfnLocationHDFS.Builder |
tags(List<? extends CfnTag> tags)
The key-value pair that represents the tag that you want to add to the location.
|
@Stability(value=Stable) public static CfnLocationHDFS.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnLocationHDFS.NameNodeProperty.Builder.@Stability(value=Stable) public CfnLocationHDFS.Builder agentArns(List<String> agentArns)
agentArns - The Amazon Resource Names (ARNs) of the agents that are used to connect to the HDFS cluster. This parameter is required.this@Stability(value=Stable) public CfnLocationHDFS.Builder authenticationType(String authenticationType)
authenticationType - `AWS::DataSync::LocationHDFS.AuthenticationType`. This parameter is required.this@Stability(value=Stable) public CfnLocationHDFS.Builder nameNodes(IResolvable nameNodes)
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.
nameNodes - The NameNode that manages the HDFS namespace. This parameter is required.this@Stability(value=Stable) public CfnLocationHDFS.Builder nameNodes(List<? extends Object> nameNodes)
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.
nameNodes - The NameNode that manages the HDFS namespace. This parameter is required.this@Stability(value=Stable) public CfnLocationHDFS.Builder blockSize(Number blockSize)
The block size must be a multiple of 512 bytes. The default block size is 128 mebibytes (MiB).
blockSize - The size of data blocks to write into the HDFS cluster. This parameter is required.this@Stability(value=Stable) public CfnLocationHDFS.Builder kerberosKeytab(String kerberosKeytab)
Provide the base64-encoded file text. If KERBEROS is specified for AuthType , this value is required.
kerberosKeytab - The Kerberos key table (keytab) that contains mappings between the defined Kerberos principal and the encrypted keys. This parameter is required.this@Stability(value=Stable) public CfnLocationHDFS.Builder kerberosKrb5Conf(String kerberosKrb5Conf)
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 parameter is required.this@Stability(value=Stable) public CfnLocationHDFS.Builder kerberosPrincipal(String kerberosPrincipal)
If
KERBEROSis specified forAuthenticationType, this parameter is required.
kerberosPrincipal - The Kerberos principal with access to the files and folders on the HDFS cluster. This parameter is required.this@Stability(value=Stable) public CfnLocationHDFS.Builder kmsKeyProviderUri(String kmsKeyProviderUri)
kmsKeyProviderUri - The URI of the HDFS cluster's Key Management Server (KMS). This parameter is required.this@Stability(value=Stable) public CfnLocationHDFS.Builder qopConfiguration(CfnLocationHDFS.QopConfigurationProperty qopConfiguration)
If QopConfiguration isn't specified, RpcProtection and DataTransferProtection default to PRIVACY . If you set RpcProtection or DataTransferProtection , the other parameter assumes the same value.
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. This parameter is required.this@Stability(value=Stable) public CfnLocationHDFS.Builder qopConfiguration(IResolvable qopConfiguration)
If QopConfiguration isn't specified, RpcProtection and DataTransferProtection default to PRIVACY . If you set RpcProtection or DataTransferProtection , the other parameter assumes the same value.
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. This parameter is required.this@Stability(value=Stable) public CfnLocationHDFS.Builder replicationFactor(Number replicationFactor)
By default, data is replicated to three DataNodes.
replicationFactor - The number of DataNodes to replicate the data to when writing to the HDFS cluster. This parameter is required.this@Stability(value=Stable) public CfnLocationHDFS.Builder simpleUser(String simpleUser)
If
SIMPLEis specified forAuthenticationType, this parameter is required.
simpleUser - The user name used to identify the client on the host operating system. This parameter is required.this@Stability(value=Stable) public CfnLocationHDFS.Builder subdirectory(String subdirectory)
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 / .
subdirectory - A subdirectory in the HDFS cluster. This parameter is required.this@Stability(value=Stable) public CfnLocationHDFS.Builder tags(List<? extends CfnTag> tags)
The value can be an empty string. We recommend using tags to name your resources.
tags - The key-value pair that represents the tag that you want to add to the location. This parameter is required.this@Stability(value=Stable) public CfnLocationHDFS build()
build in interface software.amazon.jsii.Builder<CfnLocationHDFS>Copyright © 2022. All rights reserved.