Class CloudwatchLogStream.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.cloudwatch_log_stream.CloudwatchLogStream.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<CloudwatchLogStream>
- Enclosing class:
- CloudwatchLogStream
@Stability(Stable) public static final class CloudwatchLogStream.Builder extends Object implements software.amazon.jsii.Builder<CloudwatchLogStream>
A fluent builder forCloudwatchLogStream.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudwatchLogStreambuild()CloudwatchLogStream.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)CloudwatchLogStream.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)CloudwatchLogStream.Buildercount(com.hashicorp.cdktf.TerraformCount count)CloudwatchLogStream.Buildercount(Number count)static CloudwatchLogStream.Buildercreate(software.constructs.Construct scope, String id)CloudwatchLogStream.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)CloudwatchLogStream.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)CloudwatchLogStream.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_log_stream#id CloudwatchLogStream#id}.CloudwatchLogStream.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)CloudwatchLogStream.BuilderlogGroupName(String logGroupName)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_log_stream#log_group_name CloudwatchLogStream#log_group_name}.CloudwatchLogStream.Buildername(String name)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_log_stream#name CloudwatchLogStream#name}.CloudwatchLogStream.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)CloudwatchLogStream.Builderprovisioners(List<? extends Object> provisioners)
-
-
-
Method Detail
-
create
@Stability(Stable) public static CloudwatchLogStream.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
CloudwatchLogStream.Builder.
-
connection
@Stability(Experimental) public CloudwatchLogStream.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public CloudwatchLogStream.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public CloudwatchLogStream.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public CloudwatchLogStream.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public CloudwatchLogStream.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public CloudwatchLogStream.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public CloudwatchLogStream.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public CloudwatchLogStream.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public CloudwatchLogStream.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
logGroupName
@Stability(Stable) public CloudwatchLogStream.Builder logGroupName(String logGroupName)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_log_stream#log_group_name CloudwatchLogStream#log_group_name}.- Parameters:
logGroupName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_log_stream#log_group_name CloudwatchLogStream#log_group_name}. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public CloudwatchLogStream.Builder name(String name)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_log_stream#name CloudwatchLogStream#name}.- Parameters:
name- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_log_stream#name CloudwatchLogStream#name}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public CloudwatchLogStream.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_log_stream#id CloudwatchLogStream#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.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/cloudwatch_log_stream#id CloudwatchLogStream#id}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public CloudwatchLogStream build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CloudwatchLogStream>- Returns:
- a newly built instance of
CloudwatchLogStream.
-
-