Class OpsworksHaproxyLayerCloudwatchConfigurationLogStreams.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.opsworks_haproxy_layer.OpsworksHaproxyLayerCloudwatchConfigurationLogStreams.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<OpsworksHaproxyLayerCloudwatchConfigurationLogStreams>
- Enclosing interface:
- OpsworksHaproxyLayerCloudwatchConfigurationLogStreams
@Stability(Stable) public static final class OpsworksHaproxyLayerCloudwatchConfigurationLogStreams.Builder extends Object implements software.amazon.jsii.Builder<OpsworksHaproxyLayerCloudwatchConfigurationLogStreams>
A builder forOpsworksHaproxyLayerCloudwatchConfigurationLogStreams
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
file
@Stability(Stable) public OpsworksHaproxyLayerCloudwatchConfigurationLogStreams.Builder file(String file)
Sets the value ofOpsworksHaproxyLayerCloudwatchConfigurationLogStreams.getFile()- Parameters:
file- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#file OpsworksHaproxyLayer#file}. This parameter is required.- Returns:
this
-
logGroupName
@Stability(Stable) public OpsworksHaproxyLayerCloudwatchConfigurationLogStreams.Builder logGroupName(String logGroupName)
Sets the value ofOpsworksHaproxyLayerCloudwatchConfigurationLogStreams.getLogGroupName()- Parameters:
logGroupName- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#log_group_name OpsworksHaproxyLayer#log_group_name}. This parameter is required.- Returns:
this
-
batchCount
@Stability(Stable) public OpsworksHaproxyLayerCloudwatchConfigurationLogStreams.Builder batchCount(Number batchCount)
Sets the value ofOpsworksHaproxyLayerCloudwatchConfigurationLogStreams.getBatchCount()- Parameters:
batchCount- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#batch_count OpsworksHaproxyLayer#batch_count}.- Returns:
this
-
batchSize
@Stability(Stable) public OpsworksHaproxyLayerCloudwatchConfigurationLogStreams.Builder batchSize(Number batchSize)
Sets the value ofOpsworksHaproxyLayerCloudwatchConfigurationLogStreams.getBatchSize()- Parameters:
batchSize- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#batch_size OpsworksHaproxyLayer#batch_size}.- Returns:
this
-
bufferDuration
@Stability(Stable) public OpsworksHaproxyLayerCloudwatchConfigurationLogStreams.Builder bufferDuration(Number bufferDuration)
- Parameters:
bufferDuration- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#buffer_duration OpsworksHaproxyLayer#buffer_duration}.- Returns:
this
-
datetimeFormat
@Stability(Stable) public OpsworksHaproxyLayerCloudwatchConfigurationLogStreams.Builder datetimeFormat(String datetimeFormat)
- Parameters:
datetimeFormat- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#datetime_format OpsworksHaproxyLayer#datetime_format}.- Returns:
this
-
encoding
@Stability(Stable) public OpsworksHaproxyLayerCloudwatchConfigurationLogStreams.Builder encoding(String encoding)
Sets the value ofOpsworksHaproxyLayerCloudwatchConfigurationLogStreams.getEncoding()- Parameters:
encoding- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#encoding OpsworksHaproxyLayer#encoding}.- Returns:
this
-
fileFingerprintLines
@Stability(Stable) public OpsworksHaproxyLayerCloudwatchConfigurationLogStreams.Builder fileFingerprintLines(String fileFingerprintLines)
- Parameters:
fileFingerprintLines- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#file_fingerprint_lines OpsworksHaproxyLayer#file_fingerprint_lines}.- Returns:
this
-
initialPosition
@Stability(Stable) public OpsworksHaproxyLayerCloudwatchConfigurationLogStreams.Builder initialPosition(String initialPosition)
- Parameters:
initialPosition- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#initial_position OpsworksHaproxyLayer#initial_position}.- Returns:
this
-
multilineStartPattern
@Stability(Stable) public OpsworksHaproxyLayerCloudwatchConfigurationLogStreams.Builder multilineStartPattern(String multilineStartPattern)
- Parameters:
multilineStartPattern- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#multiline_start_pattern OpsworksHaproxyLayer#multiline_start_pattern}.- Returns:
this
-
timeZone
@Stability(Stable) public OpsworksHaproxyLayerCloudwatchConfigurationLogStreams.Builder timeZone(String timeZone)
Sets the value ofOpsworksHaproxyLayerCloudwatchConfigurationLogStreams.getTimeZone()- Parameters:
timeZone- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/opsworks_haproxy_layer#time_zone OpsworksHaproxyLayer#time_zone}.- Returns:
this
-
build
@Stability(Stable) public OpsworksHaproxyLayerCloudwatchConfigurationLogStreams build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<OpsworksHaproxyLayerCloudwatchConfigurationLogStreams>- Returns:
- a new instance of
OpsworksHaproxyLayerCloudwatchConfigurationLogStreams - Throws:
NullPointerException- if any required attribute was not provided
-
-