Class MskconnectConnectorConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.mskconnect_connector.MskconnectConnectorConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MskconnectConnectorConfig>
- Enclosing interface:
- MskconnectConnectorConfig
@Stability(Stable) public static final class MskconnectConnectorConfig.Builder extends Object implements software.amazon.jsii.Builder<MskconnectConnectorConfig>
A builder forMskconnectConnectorConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
capacity
@Stability(Stable) public MskconnectConnectorConfig.Builder capacity(MskconnectConnectorCapacity capacity)
Sets the value ofMskconnectConnectorConfig.getCapacity()- Parameters:
capacity- capacity block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mskconnect_connector#capacity MskconnectConnector#capacity}- Returns:
this
-
connectorConfiguration
@Stability(Stable) public MskconnectConnectorConfig.Builder connectorConfiguration(Map<String,String> connectorConfiguration)
Sets the value ofMskconnectConnectorConfig.getConnectorConfiguration()- Parameters:
connectorConfiguration- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mskconnect_connector#connector_configuration MskconnectConnector#connector_configuration}. This parameter is required.- Returns:
this
-
kafkaCluster
@Stability(Stable) public MskconnectConnectorConfig.Builder kafkaCluster(MskconnectConnectorKafkaCluster kafkaCluster)
Sets the value ofMskconnectConnectorConfig.getKafkaCluster()- Parameters:
kafkaCluster- kafka_cluster block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mskconnect_connector#kafka_cluster MskconnectConnector#kafka_cluster}- Returns:
this
-
kafkaClusterClientAuthentication
@Stability(Stable) public MskconnectConnectorConfig.Builder kafkaClusterClientAuthentication(MskconnectConnectorKafkaClusterClientAuthentication kafkaClusterClientAuthentication)
Sets the value ofMskconnectConnectorConfig.getKafkaClusterClientAuthentication()- Parameters:
kafkaClusterClientAuthentication- kafka_cluster_client_authentication block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mskconnect_connector#kafka_cluster_client_authentication MskconnectConnector#kafka_cluster_client_authentication}- Returns:
this
-
kafkaClusterEncryptionInTransit
@Stability(Stable) public MskconnectConnectorConfig.Builder kafkaClusterEncryptionInTransit(MskconnectConnectorKafkaClusterEncryptionInTransit kafkaClusterEncryptionInTransit)
Sets the value ofMskconnectConnectorConfig.getKafkaClusterEncryptionInTransit()- Parameters:
kafkaClusterEncryptionInTransit- kafka_cluster_encryption_in_transit block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mskconnect_connector#kafka_cluster_encryption_in_transit MskconnectConnector#kafka_cluster_encryption_in_transit}- Returns:
this
-
kafkaconnectVersion
@Stability(Stable) public MskconnectConnectorConfig.Builder kafkaconnectVersion(String kafkaconnectVersion)
Sets the value ofMskconnectConnectorConfig.getKafkaconnectVersion()- Parameters:
kafkaconnectVersion- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mskconnect_connector#kafkaconnect_version MskconnectConnector#kafkaconnect_version}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public MskconnectConnectorConfig.Builder name(String name)
Sets the value ofMskconnectConnectorConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mskconnect_connector#name MskconnectConnector#name}. This parameter is required.- Returns:
this
-
plugin
@Stability(Stable) public MskconnectConnectorConfig.Builder plugin(com.hashicorp.cdktf.IResolvable plugin)
Sets the value ofMskconnectConnectorConfig.getPlugin()- Parameters:
plugin- plugin block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mskconnect_connector#plugin MskconnectConnector#plugin}- Returns:
this
-
plugin
@Stability(Stable) public MskconnectConnectorConfig.Builder plugin(List<? extends MskconnectConnectorPlugin> plugin)
Sets the value ofMskconnectConnectorConfig.getPlugin()- Parameters:
plugin- plugin block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mskconnect_connector#plugin MskconnectConnector#plugin}- Returns:
this
-
serviceExecutionRoleArn
@Stability(Stable) public MskconnectConnectorConfig.Builder serviceExecutionRoleArn(String serviceExecutionRoleArn)
Sets the value ofMskconnectConnectorConfig.getServiceExecutionRoleArn()- Parameters:
serviceExecutionRoleArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mskconnect_connector#service_execution_role_arn MskconnectConnector#service_execution_role_arn}. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public MskconnectConnectorConfig.Builder description(String description)
Sets the value ofMskconnectConnectorConfig.getDescription()- Parameters:
description- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mskconnect_connector#description MskconnectConnector#description}.- Returns:
this
-
id
@Stability(Stable) public MskconnectConnectorConfig.Builder id(String id)
Sets the value ofMskconnectConnectorConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mskconnect_connector#id MskconnectConnector#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
-
logDelivery
@Stability(Stable) public MskconnectConnectorConfig.Builder logDelivery(MskconnectConnectorLogDelivery logDelivery)
Sets the value ofMskconnectConnectorConfig.getLogDelivery()- Parameters:
logDelivery- log_delivery block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mskconnect_connector#log_delivery MskconnectConnector#log_delivery}- Returns:
this
-
timeouts
@Stability(Stable) public MskconnectConnectorConfig.Builder timeouts(MskconnectConnectorTimeouts timeouts)
Sets the value ofMskconnectConnectorConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mskconnect_connector#timeouts MskconnectConnector#timeouts}- Returns:
this
-
workerConfiguration
@Stability(Stable) public MskconnectConnectorConfig.Builder workerConfiguration(MskconnectConnectorWorkerConfiguration workerConfiguration)
Sets the value ofMskconnectConnectorConfig.getWorkerConfiguration()- Parameters:
workerConfiguration- worker_configuration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mskconnect_connector#worker_configuration MskconnectConnector#worker_configuration}- Returns:
this
-
connection
@Stability(Experimental) public MskconnectConnectorConfig.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 MskconnectConnectorConfig.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 MskconnectConnectorConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public MskconnectConnectorConfig.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 MskconnectConnectorConfig.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 MskconnectConnectorConfig.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 MskconnectConnectorConfig.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 MskconnectConnectorConfig.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 MskconnectConnectorConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public MskconnectConnectorConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MskconnectConnectorConfig>- Returns:
- a new instance of
MskconnectConnectorConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-