Class ConnectInstanceConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.connect_instance.ConnectInstanceConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<ConnectInstanceConfig>
- Enclosing interface:
- ConnectInstanceConfig
@Stability(Stable) public static final class ConnectInstanceConfig.Builder extends Object implements software.amazon.jsii.Builder<ConnectInstanceConfig>
A builder forConnectInstanceConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
identityManagementType
@Stability(Stable) public ConnectInstanceConfig.Builder identityManagementType(String identityManagementType)
Sets the value ofConnectInstanceConfig.getIdentityManagementType()- Parameters:
identityManagementType- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#identity_management_type ConnectInstance#identity_management_type}. This parameter is required.- Returns:
this
-
inboundCallsEnabled
@Stability(Stable) public ConnectInstanceConfig.Builder inboundCallsEnabled(Boolean inboundCallsEnabled)
Sets the value ofConnectInstanceConfig.getInboundCallsEnabled()- Parameters:
inboundCallsEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#inbound_calls_enabled ConnectInstance#inbound_calls_enabled}. This parameter is required.- Returns:
this
-
inboundCallsEnabled
@Stability(Stable) public ConnectInstanceConfig.Builder inboundCallsEnabled(com.hashicorp.cdktf.IResolvable inboundCallsEnabled)
Sets the value ofConnectInstanceConfig.getInboundCallsEnabled()- Parameters:
inboundCallsEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#inbound_calls_enabled ConnectInstance#inbound_calls_enabled}. This parameter is required.- Returns:
this
-
outboundCallsEnabled
@Stability(Stable) public ConnectInstanceConfig.Builder outboundCallsEnabled(Boolean outboundCallsEnabled)
Sets the value ofConnectInstanceConfig.getOutboundCallsEnabled()- Parameters:
outboundCallsEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#outbound_calls_enabled ConnectInstance#outbound_calls_enabled}. This parameter is required.- Returns:
this
-
outboundCallsEnabled
@Stability(Stable) public ConnectInstanceConfig.Builder outboundCallsEnabled(com.hashicorp.cdktf.IResolvable outboundCallsEnabled)
Sets the value ofConnectInstanceConfig.getOutboundCallsEnabled()- Parameters:
outboundCallsEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#outbound_calls_enabled ConnectInstance#outbound_calls_enabled}. This parameter is required.- Returns:
this
-
autoResolveBestVoicesEnabled
@Stability(Stable) public ConnectInstanceConfig.Builder autoResolveBestVoicesEnabled(Boolean autoResolveBestVoicesEnabled)
Sets the value ofConnectInstanceConfig.getAutoResolveBestVoicesEnabled()- Parameters:
autoResolveBestVoicesEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#auto_resolve_best_voices_enabled ConnectInstance#auto_resolve_best_voices_enabled}.- Returns:
this
-
autoResolveBestVoicesEnabled
@Stability(Stable) public ConnectInstanceConfig.Builder autoResolveBestVoicesEnabled(com.hashicorp.cdktf.IResolvable autoResolveBestVoicesEnabled)
Sets the value ofConnectInstanceConfig.getAutoResolveBestVoicesEnabled()- Parameters:
autoResolveBestVoicesEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#auto_resolve_best_voices_enabled ConnectInstance#auto_resolve_best_voices_enabled}.- Returns:
this
-
contactFlowLogsEnabled
@Stability(Stable) public ConnectInstanceConfig.Builder contactFlowLogsEnabled(Boolean contactFlowLogsEnabled)
Sets the value ofConnectInstanceConfig.getContactFlowLogsEnabled()- Parameters:
contactFlowLogsEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#contact_flow_logs_enabled ConnectInstance#contact_flow_logs_enabled}.- Returns:
this
-
contactFlowLogsEnabled
@Stability(Stable) public ConnectInstanceConfig.Builder contactFlowLogsEnabled(com.hashicorp.cdktf.IResolvable contactFlowLogsEnabled)
Sets the value ofConnectInstanceConfig.getContactFlowLogsEnabled()- Parameters:
contactFlowLogsEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#contact_flow_logs_enabled ConnectInstance#contact_flow_logs_enabled}.- Returns:
this
-
contactLensEnabled
@Stability(Stable) public ConnectInstanceConfig.Builder contactLensEnabled(Boolean contactLensEnabled)
Sets the value ofConnectInstanceConfig.getContactLensEnabled()- Parameters:
contactLensEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#contact_lens_enabled ConnectInstance#contact_lens_enabled}.- Returns:
this
-
contactLensEnabled
@Stability(Stable) public ConnectInstanceConfig.Builder contactLensEnabled(com.hashicorp.cdktf.IResolvable contactLensEnabled)
Sets the value ofConnectInstanceConfig.getContactLensEnabled()- Parameters:
contactLensEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#contact_lens_enabled ConnectInstance#contact_lens_enabled}.- Returns:
this
-
directoryId
@Stability(Stable) public ConnectInstanceConfig.Builder directoryId(String directoryId)
Sets the value ofConnectInstanceConfig.getDirectoryId()- Parameters:
directoryId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#directory_id ConnectInstance#directory_id}.- Returns:
this
-
earlyMediaEnabled
@Stability(Stable) public ConnectInstanceConfig.Builder earlyMediaEnabled(Boolean earlyMediaEnabled)
Sets the value ofConnectInstanceConfig.getEarlyMediaEnabled()- Parameters:
earlyMediaEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#early_media_enabled ConnectInstance#early_media_enabled}.- Returns:
this
-
earlyMediaEnabled
@Stability(Stable) public ConnectInstanceConfig.Builder earlyMediaEnabled(com.hashicorp.cdktf.IResolvable earlyMediaEnabled)
Sets the value ofConnectInstanceConfig.getEarlyMediaEnabled()- Parameters:
earlyMediaEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#early_media_enabled ConnectInstance#early_media_enabled}.- Returns:
this
-
id
@Stability(Stable) public ConnectInstanceConfig.Builder id(String id)
Sets the value ofConnectInstanceConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#id ConnectInstance#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
-
instanceAlias
@Stability(Stable) public ConnectInstanceConfig.Builder instanceAlias(String instanceAlias)
Sets the value ofConnectInstanceConfig.getInstanceAlias()- Parameters:
instanceAlias- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#instance_alias ConnectInstance#instance_alias}.- Returns:
this
-
multiPartyConferenceEnabled
@Stability(Stable) public ConnectInstanceConfig.Builder multiPartyConferenceEnabled(Boolean multiPartyConferenceEnabled)
Sets the value ofConnectInstanceConfig.getMultiPartyConferenceEnabled()- Parameters:
multiPartyConferenceEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#multi_party_conference_enabled ConnectInstance#multi_party_conference_enabled}.- Returns:
this
-
multiPartyConferenceEnabled
@Stability(Stable) public ConnectInstanceConfig.Builder multiPartyConferenceEnabled(com.hashicorp.cdktf.IResolvable multiPartyConferenceEnabled)
Sets the value ofConnectInstanceConfig.getMultiPartyConferenceEnabled()- Parameters:
multiPartyConferenceEnabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#multi_party_conference_enabled ConnectInstance#multi_party_conference_enabled}.- Returns:
this
-
timeouts
@Stability(Stable) public ConnectInstanceConfig.Builder timeouts(ConnectInstanceTimeouts timeouts)
Sets the value ofConnectInstanceConfig.getTimeouts()- Parameters:
timeouts- timeouts block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/connect_instance#timeouts ConnectInstance#timeouts}- Returns:
this
-
connection
@Stability(Experimental) public ConnectInstanceConfig.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 ConnectInstanceConfig.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 ConnectInstanceConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public ConnectInstanceConfig.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 ConnectInstanceConfig.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 ConnectInstanceConfig.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 ConnectInstanceConfig.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 ConnectInstanceConfig.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 ConnectInstanceConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public ConnectInstanceConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ConnectInstanceConfig>- Returns:
- a new instance of
ConnectInstanceConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-