@Stability(value=Stable) 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=Stable) public FirelensOptions.Builder configFileType(FirelensConfigFileType configFileType)
FirelensOptions.getConfigFileType()configFileType - Custom configuration file, s3 or file.
Both configFileType and configFileValue must be used together
to define a custom configuration source.this@Stability(value=Stable) public FirelensOptions.Builder configFileValue(String configFileValue)
FirelensOptions.getConfigFileValue()configFileValue - Custom configuration file, S3 ARN or a file path Both configFileType and configFileValue must be used together to define a custom configuration source.this@Stability(value=Stable) public FirelensOptions.Builder enableEcsLogMetadata(Boolean enableEcsLogMetadata)
FirelensOptions#getEnableEcsLogMetadataenableEcsLogMetadata - 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=Stable) public FirelensOptions build()
build in interface software.amazon.jsii.Builder<FirelensOptions>FirelensOptionsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.