Class DatasyncLocationHdfsConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.datasync_location_hdfs.DatasyncLocationHdfsConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatasyncLocationHdfsConfig>
- Enclosing interface:
- DatasyncLocationHdfsConfig
@Stability(Stable) public static final class DatasyncLocationHdfsConfig.Builder extends Object implements software.amazon.jsii.Builder<DatasyncLocationHdfsConfig>
A builder forDatasyncLocationHdfsConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
agentArns
@Stability(Stable) public DatasyncLocationHdfsConfig.Builder agentArns(List<String> agentArns)
Sets the value ofDatasyncLocationHdfsConfig.getAgentArns()- Parameters:
agentArns- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#agent_arns DatasyncLocationHdfs#agent_arns}. This parameter is required.- Returns:
this
-
nameNode
@Stability(Stable) public DatasyncLocationHdfsConfig.Builder nameNode(com.hashicorp.cdktf.IResolvable nameNode)
Sets the value ofDatasyncLocationHdfsConfig.getNameNode()- Parameters:
nameNode- name_node block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#name_node DatasyncLocationHdfs#name_node}- Returns:
this
-
nameNode
@Stability(Stable) public DatasyncLocationHdfsConfig.Builder nameNode(List<? extends DatasyncLocationHdfsNameNode> nameNode)
Sets the value ofDatasyncLocationHdfsConfig.getNameNode()- Parameters:
nameNode- name_node block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#name_node DatasyncLocationHdfs#name_node}- Returns:
this
-
authenticationType
@Stability(Stable) public DatasyncLocationHdfsConfig.Builder authenticationType(String authenticationType)
Sets the value ofDatasyncLocationHdfsConfig.getAuthenticationType()- Parameters:
authenticationType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#authentication_type DatasyncLocationHdfs#authentication_type}.- Returns:
this
-
blockSize
@Stability(Stable) public DatasyncLocationHdfsConfig.Builder blockSize(Number blockSize)
Sets the value ofDatasyncLocationHdfsConfig.getBlockSize()- Parameters:
blockSize- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#block_size DatasyncLocationHdfs#block_size}.- Returns:
this
-
id
@Stability(Stable) public DatasyncLocationHdfsConfig.Builder id(String id)
Sets the value ofDatasyncLocationHdfsConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#id DatasyncLocationHdfs#id}. Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.- Returns:
this
-
kerberosKeytab
@Stability(Stable) public DatasyncLocationHdfsConfig.Builder kerberosKeytab(String kerberosKeytab)
Sets the value ofDatasyncLocationHdfsConfig.getKerberosKeytab()- Parameters:
kerberosKeytab- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#kerberos_keytab DatasyncLocationHdfs#kerberos_keytab}.- Returns:
this
-
kerberosKrb5Conf
@Stability(Stable) public DatasyncLocationHdfsConfig.Builder kerberosKrb5Conf(String kerberosKrb5Conf)
Sets the value ofDatasyncLocationHdfsConfig.getKerberosKrb5Conf()- Parameters:
kerberosKrb5Conf- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#kerberos_krb5_conf DatasyncLocationHdfs#kerberos_krb5_conf}.- Returns:
this
-
kerberosPrincipal
@Stability(Stable) public DatasyncLocationHdfsConfig.Builder kerberosPrincipal(String kerberosPrincipal)
Sets the value ofDatasyncLocationHdfsConfig.getKerberosPrincipal()- Parameters:
kerberosPrincipal- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#kerberos_principal DatasyncLocationHdfs#kerberos_principal}.- Returns:
this
-
kmsKeyProviderUri
@Stability(Stable) public DatasyncLocationHdfsConfig.Builder kmsKeyProviderUri(String kmsKeyProviderUri)
Sets the value ofDatasyncLocationHdfsConfig.getKmsKeyProviderUri()- Parameters:
kmsKeyProviderUri- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#kms_key_provider_uri DatasyncLocationHdfs#kms_key_provider_uri}.- Returns:
this
-
qopConfiguration
@Stability(Stable) public DatasyncLocationHdfsConfig.Builder qopConfiguration(DatasyncLocationHdfsQopConfiguration qopConfiguration)
Sets the value ofDatasyncLocationHdfsConfig.getQopConfiguration()- Parameters:
qopConfiguration- qop_configuration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#qop_configuration DatasyncLocationHdfs#qop_configuration}- Returns:
this
-
replicationFactor
@Stability(Stable) public DatasyncLocationHdfsConfig.Builder replicationFactor(Number replicationFactor)
Sets the value ofDatasyncLocationHdfsConfig.getReplicationFactor()- Parameters:
replicationFactor- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#replication_factor DatasyncLocationHdfs#replication_factor}.- Returns:
this
-
simpleUser
@Stability(Stable) public DatasyncLocationHdfsConfig.Builder simpleUser(String simpleUser)
Sets the value ofDatasyncLocationHdfsConfig.getSimpleUser()- Parameters:
simpleUser- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#simple_user DatasyncLocationHdfs#simple_user}.- Returns:
this
-
subdirectory
@Stability(Stable) public DatasyncLocationHdfsConfig.Builder subdirectory(String subdirectory)
Sets the value ofDatasyncLocationHdfsConfig.getSubdirectory()- Parameters:
subdirectory- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#subdirectory DatasyncLocationHdfs#subdirectory}.- Returns:
this
-
tags
@Stability(Stable) public DatasyncLocationHdfsConfig.Builder tags(Map<String,String> tags)
Sets the value ofDatasyncLocationHdfsConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#tags DatasyncLocationHdfs#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public DatasyncLocationHdfsConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofDatasyncLocationHdfsConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/datasync_location_hdfs#tags_all DatasyncLocationHdfs#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public DatasyncLocationHdfsConfig.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
connection
@Stability(Experimental) public DatasyncLocationHdfsConfig.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
Sets the value ofTerraformMetaArguments.getConnection()- Parameters:
connection- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DatasyncLocationHdfsConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public DatasyncLocationHdfsConfig.Builder count(com.hashicorp.cdktf.TerraformCount count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
dependsOn
@Stability(Experimental) public DatasyncLocationHdfsConfig.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
Sets the value ofTerraformMetaArguments.getDependsOn()- Parameters:
dependsOn- the value to be set.- Returns:
this
-
forEach
@Stability(Experimental) public DatasyncLocationHdfsConfig.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
Sets the value ofTerraformMetaArguments.getForEach()- Parameters:
forEach- the value to be set.- Returns:
this
-
lifecycle
@Stability(Experimental) public DatasyncLocationHdfsConfig.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
Sets the value ofTerraformMetaArguments.getLifecycle()- Parameters:
lifecycle- the value to be set.- Returns:
this
-
provider
@Stability(Experimental) public DatasyncLocationHdfsConfig.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
Sets the value ofTerraformMetaArguments.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provisioners
@Stability(Experimental) public DatasyncLocationHdfsConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public DatasyncLocationHdfsConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatasyncLocationHdfsConfig>- Returns:
- a new instance of
DatasyncLocationHdfsConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-