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