Class PrometheusWorkspace.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.prometheus_workspace.PrometheusWorkspace.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PrometheusWorkspace>
- Enclosing class:
- PrometheusWorkspace
@Stability(Stable) public static final class PrometheusWorkspace.Builder extends Object implements software.amazon.jsii.Builder<PrometheusWorkspace>
A fluent builder forPrometheusWorkspace.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PrometheusWorkspace.Builderalias(String alias)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/prometheus_workspace#alias PrometheusWorkspace#alias}.PrometheusWorkspacebuild()PrometheusWorkspace.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)PrometheusWorkspace.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)PrometheusWorkspace.Buildercount(com.hashicorp.cdktf.TerraformCount count)PrometheusWorkspace.Buildercount(Number count)static PrometheusWorkspace.Buildercreate(software.constructs.Construct scope, String id)PrometheusWorkspace.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)PrometheusWorkspace.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)PrometheusWorkspace.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/prometheus_workspace#id PrometheusWorkspace#id}.PrometheusWorkspace.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)PrometheusWorkspace.BuilderloggingConfiguration(PrometheusWorkspaceLoggingConfiguration loggingConfiguration)logging_configuration block.PrometheusWorkspace.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)PrometheusWorkspace.Builderprovisioners(List<? extends Object> provisioners)PrometheusWorkspace.Buildertags(Map<String,String> tags)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/prometheus_workspace#tags PrometheusWorkspace#tags}.PrometheusWorkspace.BuildertagsAll(Map<String,String> tagsAll)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/prometheus_workspace#tags_all PrometheusWorkspace#tags_all}.
-
-
-
Method Detail
-
create
@Stability(Stable) public static PrometheusWorkspace.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
PrometheusWorkspace.Builder.
-
connection
@Stability(Experimental) public PrometheusWorkspace.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public PrometheusWorkspace.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public PrometheusWorkspace.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public PrometheusWorkspace.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public PrometheusWorkspace.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public PrometheusWorkspace.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public PrometheusWorkspace.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public PrometheusWorkspace.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public PrometheusWorkspace.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
alias
@Stability(Stable) public PrometheusWorkspace.Builder alias(String alias)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/prometheus_workspace#alias PrometheusWorkspace#alias}.- Parameters:
alias- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/prometheus_workspace#alias PrometheusWorkspace#alias}. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public PrometheusWorkspace.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/prometheus_workspace#id PrometheusWorkspace#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/prometheus_workspace#id PrometheusWorkspace#id}. This parameter is required.- Returns:
this
-
loggingConfiguration
@Stability(Stable) public PrometheusWorkspace.Builder loggingConfiguration(PrometheusWorkspaceLoggingConfiguration loggingConfiguration)
logging_configuration block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/prometheus_workspace#logging_configuration PrometheusWorkspace#logging_configuration}
- Parameters:
loggingConfiguration- logging_configuration block. This parameter is required.- Returns:
this
-
tags
@Stability(Stable) public PrometheusWorkspace.Builder tags(Map<String,String> tags)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/prometheus_workspace#tags PrometheusWorkspace#tags}.- Parameters:
tags- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/prometheus_workspace#tags PrometheusWorkspace#tags}. This parameter is required.- Returns:
this
-
tagsAll
@Stability(Stable) public PrometheusWorkspace.Builder tagsAll(Map<String,String> tagsAll)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/prometheus_workspace#tags_all PrometheusWorkspace#tags_all}.- Parameters:
tagsAll- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/prometheus_workspace#tags_all PrometheusWorkspace#tags_all}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public PrometheusWorkspace build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PrometheusWorkspace>- Returns:
- a newly built instance of
PrometheusWorkspace.
-
-