@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. Valid values are fluentbit or fluentd.
type - The log router to use. Valid values are fluentbit or fluentd.public String getType()
The log router to use. Valid values are fluentbit or fluentd.
fluentbit or fluentd.public AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails withType(String type)
The log router to use. Valid values are fluentbit or fluentd.
type - The log router to use. Valid values are fluentbit or fluentd.public String toString()
toString in class ObjectObject.toString()public AwsEcsTaskDefinitionContainerDefinitionsFirelensConfigurationDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.