Class PinpointAppConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.pinpoint_app.PinpointAppConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PinpointAppConfig>
- Enclosing interface:
- PinpointAppConfig
@Stability(Stable) public static final class PinpointAppConfig.Builder extends Object implements software.amazon.jsii.Builder<PinpointAppConfig>
A builder forPinpointAppConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PinpointAppConfigbuild()Builds the configured instance.PinpointAppConfig.BuildercampaignHook(PinpointAppCampaignHook campaignHook)Sets the value ofPinpointAppConfig.getCampaignHook()PinpointAppConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()PinpointAppConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()PinpointAppConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()PinpointAppConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()PinpointAppConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()PinpointAppConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()PinpointAppConfig.Builderid(String id)Sets the value ofPinpointAppConfig.getId()PinpointAppConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()PinpointAppConfig.Builderlimits(PinpointAppLimits limits)Sets the value ofPinpointAppConfig.getLimits()PinpointAppConfig.Buildername(String name)Sets the value ofPinpointAppConfig.getName()PinpointAppConfig.BuildernamePrefix(String namePrefix)Sets the value ofPinpointAppConfig.getNamePrefix()PinpointAppConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()PinpointAppConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()PinpointAppConfig.BuilderquietTime(PinpointAppQuietTime quietTime)Sets the value ofPinpointAppConfig.getQuietTime()PinpointAppConfig.Buildertags(Map<String,String> tags)Sets the value ofPinpointAppConfig.getTags()PinpointAppConfig.BuildertagsAll(Map<String,String> tagsAll)Sets the value ofPinpointAppConfig.getTagsAll()
-
-
-
Method Detail
-
campaignHook
@Stability(Stable) public PinpointAppConfig.Builder campaignHook(PinpointAppCampaignHook campaignHook)
Sets the value ofPinpointAppConfig.getCampaignHook()- Parameters:
campaignHook- campaign_hook block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_app#campaign_hook PinpointApp#campaign_hook}- Returns:
this
-
id
@Stability(Stable) public PinpointAppConfig.Builder id(String id)
Sets the value ofPinpointAppConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_app#id PinpointApp#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
-
limits
@Stability(Stable) public PinpointAppConfig.Builder limits(PinpointAppLimits limits)
Sets the value ofPinpointAppConfig.getLimits()- Parameters:
limits- limits block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_app#limits PinpointApp#limits}- Returns:
this
-
name
@Stability(Stable) public PinpointAppConfig.Builder name(String name)
Sets the value ofPinpointAppConfig.getName()- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_app#name PinpointApp#name}.- Returns:
this
-
namePrefix
@Stability(Stable) public PinpointAppConfig.Builder namePrefix(String namePrefix)
Sets the value ofPinpointAppConfig.getNamePrefix()- Parameters:
namePrefix- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_app#name_prefix PinpointApp#name_prefix}.- Returns:
this
-
quietTime
@Stability(Stable) public PinpointAppConfig.Builder quietTime(PinpointAppQuietTime quietTime)
Sets the value ofPinpointAppConfig.getQuietTime()- Parameters:
quietTime- quiet_time block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_app#quiet_time PinpointApp#quiet_time}- Returns:
this
-
tags
@Stability(Stable) public PinpointAppConfig.Builder tags(Map<String,String> tags)
Sets the value ofPinpointAppConfig.getTags()- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_app#tags PinpointApp#tags}.- Returns:
this
-
tagsAll
@Stability(Stable) public PinpointAppConfig.Builder tagsAll(Map<String,String> tagsAll)
Sets the value ofPinpointAppConfig.getTagsAll()- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/pinpoint_app#tags_all PinpointApp#tags_all}.- Returns:
this
-
connection
@Stability(Experimental) public PinpointAppConfig.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 PinpointAppConfig.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 PinpointAppConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public PinpointAppConfig.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 PinpointAppConfig.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 PinpointAppConfig.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 PinpointAppConfig.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 PinpointAppConfig.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 PinpointAppConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public PinpointAppConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PinpointAppConfig>- Returns:
- a new instance of
PinpointAppConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-