Class OpsworksStaticWebLayerCloudwatchConfiguration.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.opsworks_static_web_layer.OpsworksStaticWebLayerCloudwatchConfiguration.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OpsworksStaticWebLayerCloudwatchConfiguration>
- Enclosing interface:
- OpsworksStaticWebLayerCloudwatchConfiguration
@Stability(Stable) public static final class OpsworksStaticWebLayerCloudwatchConfiguration.Builder extends Object implements software.amazon.jsii.Builder<OpsworksStaticWebLayerCloudwatchConfiguration>
A builder forOpsworksStaticWebLayerCloudwatchConfiguration
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpsworksStaticWebLayerCloudwatchConfigurationbuild()Builds the configured instance.OpsworksStaticWebLayerCloudwatchConfiguration.Builderenabled(com.hashicorp.cdktf.IResolvable enabled)Sets the value ofOpsworksStaticWebLayerCloudwatchConfiguration.getEnabled()OpsworksStaticWebLayerCloudwatchConfiguration.Builderenabled(Boolean enabled)Sets the value ofOpsworksStaticWebLayerCloudwatchConfiguration.getEnabled()OpsworksStaticWebLayerCloudwatchConfiguration.BuilderlogStreams(com.hashicorp.cdktf.IResolvable logStreams)Sets the value ofOpsworksStaticWebLayerCloudwatchConfiguration.getLogStreams()OpsworksStaticWebLayerCloudwatchConfiguration.BuilderlogStreams(List<? extends OpsworksStaticWebLayerCloudwatchConfigurationLogStreams> logStreams)Sets the value ofOpsworksStaticWebLayerCloudwatchConfiguration.getLogStreams()
-
-
-
Method Detail
-
enabled
@Stability(Stable) public OpsworksStaticWebLayerCloudwatchConfiguration.Builder enabled(Boolean enabled)
Sets the value ofOpsworksStaticWebLayerCloudwatchConfiguration.getEnabled()- Parameters:
enabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#enabled OpsworksStaticWebLayer#enabled}.- Returns:
this
-
enabled
@Stability(Stable) public OpsworksStaticWebLayerCloudwatchConfiguration.Builder enabled(com.hashicorp.cdktf.IResolvable enabled)
Sets the value ofOpsworksStaticWebLayerCloudwatchConfiguration.getEnabled()- Parameters:
enabled- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#enabled OpsworksStaticWebLayer#enabled}.- Returns:
this
-
logStreams
@Stability(Stable) public OpsworksStaticWebLayerCloudwatchConfiguration.Builder logStreams(com.hashicorp.cdktf.IResolvable logStreams)
Sets the value ofOpsworksStaticWebLayerCloudwatchConfiguration.getLogStreams()- Parameters:
logStreams- log_streams block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#log_streams OpsworksStaticWebLayer#log_streams}- Returns:
this
-
logStreams
@Stability(Stable) public OpsworksStaticWebLayerCloudwatchConfiguration.Builder logStreams(List<? extends OpsworksStaticWebLayerCloudwatchConfigurationLogStreams> logStreams)
Sets the value ofOpsworksStaticWebLayerCloudwatchConfiguration.getLogStreams()- Parameters:
logStreams- log_streams block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_static_web_layer#log_streams OpsworksStaticWebLayer#log_streams}- Returns:
this
-
build
@Stability(Stable) public OpsworksStaticWebLayerCloudwatchConfiguration build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OpsworksStaticWebLayerCloudwatchConfiguration>- Returns:
- a new instance of
OpsworksStaticWebLayerCloudwatchConfiguration - Throws:
NullPointerException- if any required attribute was not provided
-
-