@Stability(value=Experimental) public static final class FirelensOptions.Builder extends Object implements software.amazon.jsii.Builder<FirelensOptions>
FirelensOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
FirelensOptions |
build()
Builds the configured instance.
|
FirelensOptions.Builder |
configFileType(FirelensConfigFileType configFileType)
Sets the value of
FirelensOptions.getConfigFileType() |
FirelensOptions.Builder |
configFileValue(String configFileValue)
Sets the value of
FirelensOptions.getConfigFileValue() |
FirelensOptions.Builder |
enableEcsLogMetadata(Boolean enableEcsLogMetadata)
Sets the value of
FirelensOptions#getEnableEcsLogMetadata |
@Stability(value=Experimental) public FirelensOptions.Builder configFileValue(String configFileValue)
FirelensOptions.getConfigFileValue()
configFileValue
- Custom configuration file, S3 ARN or a file path. This parameter is required.this
@Stability(value=Experimental) public FirelensOptions.Builder configFileType(FirelensConfigFileType configFileType)
FirelensOptions.getConfigFileType()
configFileType
- Custom configuration file, s3 or file.this
@Stability(value=Experimental) public FirelensOptions.Builder enableEcsLogMetadata(Boolean enableEcsLogMetadata)
FirelensOptions#getEnableEcsLogMetadata
enableEcsLogMetadata
- By default, Amazon ECS adds additional fields in your log entries that help identify the source of the logs.
You can disable this action by setting enable-ecs-log-metadata to false.this
@Stability(value=Experimental) public FirelensOptions build()
build
in interface software.amazon.jsii.Builder<FirelensOptions>
FirelensOptions
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.