@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails extends Object implements Serializable, Cloneable, StructuredPojo
The FireLens configuration for the container. The configuration specifies and configures a log router for container logs.
| Constructor and Description |
|---|
AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails() |
public AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails()
public Map<String,String> getOptions()
The options to use to configure the log router.
The valid option keys are as follows:
enable-ecs-log-metadata. The value can be true or false.
config-file-type. The value can be s3 or file.
config-file-value. The value is either an S3 ARN or a file path.
The valid option keys are as follows:
enable-ecs-log-metadata. The value can be true or false.
config-file-type. The value can be s3 or file.
config-file-value. The value is either an S3 ARN or a file path.
public void setOptions(Map<String,String> options)
The options to use to configure the log router.
The valid option keys are as follows:
enable-ecs-log-metadata. The value can be true or false.
config-file-type. The value can be s3 or file.
config-file-value. The value is either an S3 ARN or a file path.
options - The options to use to configure the log router.
The valid option keys are as follows:
enable-ecs-log-metadata. The value can be true or false.
config-file-type. The value can be s3 or file.
config-file-value. The value is either an S3 ARN or a file path.
public AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails withOptions(Map<String,String> options)
The options to use to configure the log router.
The valid option keys are as follows:
enable-ecs-log-metadata. The value can be true or false.
config-file-type. The value can be s3 or file.
config-file-value. The value is either an S3 ARN or a file path.
options - The options to use to configure the log router.
The valid option keys are as follows:
enable-ecs-log-metadata. The value can be true or false.
config-file-type. The value can be s3 or file.
config-file-value. The value is either an S3 ARN or a file path.
public AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails addOptionsEntry(String key, String value)
public AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails clearOptionsEntries()
public void setType(String type)
The log router to use.
type - The log router to use.public String getType()
The log router to use.
public AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails withType(String type)
The log router to use.
type - The log router to use.public String toString()
toString in class ObjectObject.toString()public AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2021. All rights reserved.