Class Route53QueryLogConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.route53_query_log.Route53QueryLogConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<Route53QueryLogConfig>
- Enclosing interface:
- Route53QueryLogConfig
@Stability(Stable) public static final class Route53QueryLogConfig.Builder extends Object implements software.amazon.jsii.Builder<Route53QueryLogConfig>
A builder forRoute53QueryLogConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Route53QueryLogConfigbuild()Builds the configured instance.Route53QueryLogConfig.BuildercloudwatchLogGroupArn(String cloudwatchLogGroupArn)Sets the value ofRoute53QueryLogConfig.getCloudwatchLogGroupArn()Route53QueryLogConfig.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()Route53QueryLogConfig.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)Sets the value ofTerraformMetaArguments.getConnection()Route53QueryLogConfig.Buildercount(com.hashicorp.cdktf.TerraformCount count)Sets the value ofTerraformMetaArguments.getCount()Route53QueryLogConfig.Buildercount(Number count)Sets the value ofTerraformMetaArguments.getCount()Route53QueryLogConfig.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)Sets the value ofTerraformMetaArguments.getDependsOn()Route53QueryLogConfig.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)Sets the value ofTerraformMetaArguments.getForEach()Route53QueryLogConfig.Builderid(String id)Sets the value ofRoute53QueryLogConfig.getId()Route53QueryLogConfig.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)Sets the value ofTerraformMetaArguments.getLifecycle()Route53QueryLogConfig.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)Sets the value ofTerraformMetaArguments.getProvider()Route53QueryLogConfig.Builderprovisioners(List<? extends Object> provisioners)Sets the value ofTerraformMetaArguments.getProvisioners()Route53QueryLogConfig.BuilderzoneId(String zoneId)Sets the value ofRoute53QueryLogConfig.getZoneId()
-
-
-
Method Detail
-
cloudwatchLogGroupArn
@Stability(Stable) public Route53QueryLogConfig.Builder cloudwatchLogGroupArn(String cloudwatchLogGroupArn)
Sets the value ofRoute53QueryLogConfig.getCloudwatchLogGroupArn()- Parameters:
cloudwatchLogGroupArn- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_query_log#cloudwatch_log_group_arn Route53QueryLog#cloudwatch_log_group_arn}. This parameter is required.- Returns:
this
-
zoneId
@Stability(Stable) public Route53QueryLogConfig.Builder zoneId(String zoneId)
Sets the value ofRoute53QueryLogConfig.getZoneId()- Parameters:
zoneId- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_query_log#zone_id Route53QueryLog#zone_id}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public Route53QueryLogConfig.Builder id(String id)
Sets the value ofRoute53QueryLogConfig.getId()- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/route53_query_log#id Route53QueryLog#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
-
connection
@Stability(Experimental) public Route53QueryLogConfig.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 Route53QueryLogConfig.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 Route53QueryLogConfig.Builder count(Number count)
Sets the value ofTerraformMetaArguments.getCount()- Parameters:
count- the value to be set.- Returns:
this
-
count
@Stability(Experimental) public Route53QueryLogConfig.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 Route53QueryLogConfig.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 Route53QueryLogConfig.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 Route53QueryLogConfig.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 Route53QueryLogConfig.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 Route53QueryLogConfig.Builder provisioners(List<? extends Object> provisioners)
Sets the value ofTerraformMetaArguments.getProvisioners()- Parameters:
provisioners- the value to be set.- Returns:
this
-
build
@Stability(Stable) public Route53QueryLogConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<Route53QueryLogConfig>- Returns:
- a new instance of
Route53QueryLogConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-