Class PinpointApnsSandboxChannelConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.pinpoint_apns_sandbox_channel.PinpointApnsSandboxChannelConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PinpointApnsSandboxChannelConfig>
- Enclosing interface:
- PinpointApnsSandboxChannelConfig
@Stability(Stable) public static final class PinpointApnsSandboxChannelConfig.Builder extends Object implements software.amazon.jsii.Builder<PinpointApnsSandboxChannelConfig>
A builder forPinpointApnsSandboxChannelConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
applicationId
@Stability(Stable) public PinpointApnsSandboxChannelConfig.Builder applicationId(String applicationId)
Sets the value ofPinpointApnsSandboxChannelConfig.getApplicationId()- Parameters:
applicationId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_apns_sandbox_channel#application_id PinpointApnsSandboxChannel#application_id}. This parameter is required.- Returns:
this
-
bundleId
@Stability(Stable) public PinpointApnsSandboxChannelConfig.Builder bundleId(String bundleId)
Sets the value ofPinpointApnsSandboxChannelConfig.getBundleId()- Parameters:
bundleId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_apns_sandbox_channel#bundle_id PinpointApnsSandboxChannel#bundle_id}.- Returns:
this
-
certificate
@Stability(Stable) public PinpointApnsSandboxChannelConfig.Builder certificate(String certificate)
Sets the value ofPinpointApnsSandboxChannelConfig.getCertificate()- Parameters:
certificate- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_apns_sandbox_channel#certificate PinpointApnsSandboxChannel#certificate}.- Returns:
this
-
defaultAuthenticationMethod
@Stability(Stable) public PinpointApnsSandboxChannelConfig.Builder defaultAuthenticationMethod(String defaultAuthenticationMethod)
Sets the value ofPinpointApnsSandboxChannelConfig.getDefaultAuthenticationMethod()- Parameters:
defaultAuthenticationMethod- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_apns_sandbox_channel#default_authentication_method PinpointApnsSandboxChannel#default_authentication_method}.- Returns:
this
-
enabled
@Stability(Stable) public PinpointApnsSandboxChannelConfig.Builder enabled(Boolean enabled)
Sets the value ofPinpointApnsSandboxChannelConfig.getEnabled()- Parameters:
enabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_apns_sandbox_channel#enabled PinpointApnsSandboxChannel#enabled}.- Returns:
this
-
enabled
@Stability(Stable) public PinpointApnsSandboxChannelConfig.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Sets the value ofPinpointApnsSandboxChannelConfig.getEnabled()- Parameters:
enabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_apns_sandbox_channel#enabled PinpointApnsSandboxChannel#enabled}.- Returns:
this
-
id
@Stability(Stable) public PinpointApnsSandboxChannelConfig.Builder id(String id)
Sets the value ofPinpointApnsSandboxChannelConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_apns_sandbox_channel#id PinpointApnsSandboxChannel#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
-
privateKey
@Stability(Stable) public PinpointApnsSandboxChannelConfig.Builder privateKey(String privateKey)
Sets the value ofPinpointApnsSandboxChannelConfig.getPrivateKey()- Parameters:
privateKey- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_apns_sandbox_channel#private_key PinpointApnsSandboxChannel#private_key}.- Returns:
this
-
teamId
@Stability(Stable) public PinpointApnsSandboxChannelConfig.Builder teamId(String teamId)
Sets the value ofPinpointApnsSandboxChannelConfig.getTeamId()- Parameters:
teamId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_apns_sandbox_channel#team_id PinpointApnsSandboxChannel#team_id}.- Returns:
this
-
tokenKey
@Stability(Stable) public PinpointApnsSandboxChannelConfig.Builder tokenKey(String tokenKey)
Sets the value ofPinpointApnsSandboxChannelConfig.getTokenKey()- Parameters:
tokenKey- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_apns_sandbox_channel#token_key PinpointApnsSandboxChannel#token_key}.- Returns:
this
-
tokenKeyId
@Stability(Stable) public PinpointApnsSandboxChannelConfig.Builder tokenKeyId(String tokenKeyId)
Sets the value ofPinpointApnsSandboxChannelConfig.getTokenKeyId()- Parameters:
tokenKeyId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_apns_sandbox_channel#token_key_id PinpointApnsSandboxChannel#token_key_id}.- Returns:
this
-
connection
@Stability(Experimental) public PinpointApnsSandboxChannelConfig.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 PinpointApnsSandboxChannelConfig.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 PinpointApnsSandboxChannelConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public PinpointApnsSandboxChannelConfig.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 PinpointApnsSandboxChannelConfig.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 PinpointApnsSandboxChannelConfig.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 PinpointApnsSandboxChannelConfig.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 PinpointApnsSandboxChannelConfig.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 PinpointApnsSandboxChannelConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public PinpointApnsSandboxChannelConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PinpointApnsSandboxChannelConfig>- Returns:
- a new instance of
PinpointApnsSandboxChannelConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-