Class MqBrokerConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.mq_broker.MqBrokerConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<MqBrokerConfig>
- Enclosing interface:
- MqBrokerConfig
@Stability(Stable) public static final class MqBrokerConfig.Builder extends Object implements software.amazon.jsii.Builder<MqBrokerConfig>
A builder forMqBrokerConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
brokerName
@Stability(Stable) public MqBrokerConfig.Builder brokerName(String brokerName)
Sets the value ofMqBrokerConfig.getBrokerName()- Parameters:
brokerName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#broker_name MqBroker#broker_name}. This parameter is required.- Returns:
this
-
engineType
@Stability(Stable) public MqBrokerConfig.Builder engineType(String engineType)
Sets the value ofMqBrokerConfig.getEngineType()- Parameters:
engineType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#engine_type MqBroker#engine_type}. This parameter is required.- Returns:
this
-
engineVersion
@Stability(Stable) public MqBrokerConfig.Builder engineVersion(String engineVersion)
Sets the value ofMqBrokerConfig.getEngineVersion()- Parameters:
engineVersion- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#engine_version MqBroker#engine_version}. This parameter is required.- Returns:
this
-
hostInstanceType
@Stability(Stable) public MqBrokerConfig.Builder hostInstanceType(String hostInstanceType)
Sets the value ofMqBrokerConfig.getHostInstanceType()- Parameters:
hostInstanceType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#host_instance_type MqBroker#host_instance_type}. This parameter is required.- Returns:
this
-
user
@Stability(Stable) public MqBrokerConfig.Builder user(com.hashicorp.cdktf.IResolvable user)
Sets the value ofMqBrokerConfig.getUser()- Parameters:
user- user block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#user MqBroker#user}- Returns:
this
-
user
@Stability(Stable) public MqBrokerConfig.Builder user(List<? extends MqBrokerUser> user)
Sets the value ofMqBrokerConfig.getUser()- Parameters:
user- user block. This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#user MqBroker#user}- Returns:
this
-
applyImmediately
@Stability(Stable) public MqBrokerConfig.Builder applyImmediately(Boolean applyImmediately)
Sets the value ofMqBrokerConfig.getApplyImmediately()- Parameters:
applyImmediately- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#apply_immediately MqBroker#apply_immediately}.- Returns:
this
-
applyImmediately
@Stability(Stable) public MqBrokerConfig.Builder applyImmediately(com.hashicorp.cdktf.IResolvable applyImmediately)
Sets the value ofMqBrokerConfig.getApplyImmediately()- Parameters:
applyImmediately- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#apply_immediately MqBroker#apply_immediately}.- Returns:
this
-
authenticationStrategy
@Stability(Stable) public MqBrokerConfig.Builder authenticationStrategy(String authenticationStrategy)
Sets the value ofMqBrokerConfig.getAuthenticationStrategy()- Parameters:
authenticationStrategy- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#authentication_strategy MqBroker#authentication_strategy}.- Returns:
this
-
autoMinorVersionUpgrade
@Stability(Stable) public MqBrokerConfig.Builder autoMinorVersionUpgrade(Boolean autoMinorVersionUpgrade)
Sets the value ofMqBrokerConfig.getAutoMinorVersionUpgrade()- Parameters:
autoMinorVersionUpgrade- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#auto_minor_version_upgrade MqBroker#auto_minor_version_upgrade}.- Returns:
this
-
autoMinorVersionUpgrade
@Stability(Stable) public MqBrokerConfig.Builder autoMinorVersionUpgrade(com.hashicorp.cdktf.IResolvable autoMinorVersionUpgrade)
Sets the value ofMqBrokerConfig.getAutoMinorVersionUpgrade()- Parameters:
autoMinorVersionUpgrade- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#auto_minor_version_upgrade MqBroker#auto_minor_version_upgrade}.- Returns:
this
-
configuration
@Stability(Stable) public MqBrokerConfig.Builder configuration(MqBrokerConfiguration configuration)
Sets the value ofMqBrokerConfig.getConfiguration()- Parameters:
configuration- configuration block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#configuration MqBroker#configuration}- Returns:
this
-
deploymentMode
@Stability(Stable) public MqBrokerConfig.Builder deploymentMode(String deploymentMode)
Sets the value ofMqBrokerConfig.getDeploymentMode()- Parameters:
deploymentMode- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#deployment_mode MqBroker#deployment_mode}.- Returns:
this
-
encryptionOptions
@Stability(Stable) public MqBrokerConfig.Builder encryptionOptions(MqBrokerEncryptionOptions encryptionOptions)
Sets the value ofMqBrokerConfig.getEncryptionOptions()- Parameters:
encryptionOptions- encryption_options block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#encryption_options MqBroker#encryption_options}- Returns:
this
-
id
@Stability(Stable) public MqBrokerConfig.Builder id(String id)
Sets the value ofMqBrokerConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#id MqBroker#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
-
ldapServerMetadata
@Stability(Stable) public MqBrokerConfig.Builder ldapServerMetadata(MqBrokerLdapServerMetadata ldapServerMetadata)
Sets the value ofMqBrokerConfig.getLdapServerMetadata()- Parameters:
ldapServerMetadata- ldap_server_metadata block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#ldap_server_metadata MqBroker#ldap_server_metadata}- Returns:
this
-
logs
@Stability(Stable) public MqBrokerConfig.Builder logs(MqBrokerLogs logs)
Sets the value ofMqBrokerConfig.getLogs()- Parameters:
logs- logs block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#logs MqBroker#logs}- Returns:
this
-
maintenanceWindowStartTime
@Stability(Stable) public MqBrokerConfig.Builder maintenanceWindowStartTime(MqBrokerMaintenanceWindowStartTime maintenanceWindowStartTime)
Sets the value ofMqBrokerConfig.getMaintenanceWindowStartTime()- Parameters:
maintenanceWindowStartTime- maintenance_window_start_time block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#maintenance_window_start_time MqBroker#maintenance_window_start_time}- Returns:
this
-
publiclyAccessible
@Stability(Stable) public MqBrokerConfig.Builder publiclyAccessible(Boolean publiclyAccessible)
Sets the value ofMqBrokerConfig.getPubliclyAccessible()- Parameters:
publiclyAccessible- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#publicly_accessible MqBroker#publicly_accessible}.- Returns:
this
-
publiclyAccessible
@Stability(Stable) public MqBrokerConfig.Builder publiclyAccessible(com.hashicorp.cdktf.IResolvable publiclyAccessible)
Sets the value ofMqBrokerConfig.getPubliclyAccessible()- Parameters:
publiclyAccessible- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#publicly_accessible MqBroker#publicly_accessible}.- Returns:
this
-
securityGroups
@Stability(Stable) public MqBrokerConfig.Builder securityGroups(List<String> securityGroups)
Sets the value ofMqBrokerConfig.getSecurityGroups()- Parameters:
securityGroups- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#security_groups MqBroker#security_groups}.- Returns:
this
-
storageType
@Stability(Stable) public MqBrokerConfig.Builder storageType(String storageType)
Sets the value ofMqBrokerConfig.getStorageType()- Parameters:
storageType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#storage_type MqBroker#storage_type}.- Returns:
this
-
subnetIds
@Stability(Stable) public MqBrokerConfig.Builder subnetIds(List<String> subnetIds)
Sets the value ofMqBrokerConfig.getSubnetIds()- Parameters:
subnetIds- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#subnet_ids MqBroker#subnet_ids}.- Returns:
this
-
tags
@Stability(Stable) public MqBrokerConfig.Builder tags(Map<String,String> tags)
Sets the value ofMqBrokerConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#tags MqBroker#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public MqBrokerConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofMqBrokerConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#tags_all MqBroker#tags_all}.- Returns:
this
-
timeouts
@Stability(Stable) public MqBrokerConfig.Builder timeouts(MqBrokerTimeouts timeouts)
Sets the value ofMqBrokerConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/mq_broker#timeouts MqBroker#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public MqBrokerConfig.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 MqBrokerConfig.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 MqBrokerConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public MqBrokerConfig.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 MqBrokerConfig.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 MqBrokerConfig.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 MqBrokerConfig.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 MqBrokerConfig.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 MqBrokerConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public MqBrokerConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<MqBrokerConfig>- Returns:
- a new instance of
MqBrokerConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-