Interface AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails.Builder,
,AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails> SdkBuilder<AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails.Builder,
,AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails> SdkPojo
- Enclosing class:
AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails
-
Method Summary
Modifier and TypeMethodDescriptionThe log driver to use for the container.The configuration options to send to the log driver.secretOptions
(Collection<AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails> secretOptions) The secrets to pass to the log configuration.secretOptions
(Consumer<AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails.Builder>... secretOptions) The secrets to pass to the log configuration.secretOptions
(AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails... secretOptions) The secrets to pass to the log configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
logDriver
The log driver to use for the container.
Valid values on Fargate are as follows:
-
awsfirelens
-
awslogs
-
splunk
Valid values on Amazon EC2 are as follows:
-
awsfirelens
-
awslogs
-
fluentd
-
gelf
-
journald
-
json-file
-
logentries
-
splunk
-
syslog
- Parameters:
logDriver
- The log driver to use for the container.Valid values on Fargate are as follows:
-
awsfirelens
-
awslogs
-
splunk
Valid values on Amazon EC2 are as follows:
-
awsfirelens
-
awslogs
-
fluentd
-
gelf
-
journald
-
json-file
-
logentries
-
splunk
-
syslog
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
options
AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails.Builder options(Map<String, String> options) The configuration options to send to the log driver. Requires version 1.19 of the Docker Remote API or greater on your container instance.
- Parameters:
options
- The configuration options to send to the log driver. Requires version 1.19 of the Docker Remote API or greater on your container instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretOptions
AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails.Builder secretOptions(Collection<AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails> secretOptions) The secrets to pass to the log configuration.
- Parameters:
secretOptions
- The secrets to pass to the log configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretOptions
AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails.Builder secretOptions(AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails... secretOptions) The secrets to pass to the log configuration.
- Parameters:
secretOptions
- The secrets to pass to the log configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretOptions
AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationDetails.Builder secretOptions(Consumer<AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails.Builder>... secretOptions) The secrets to pass to the log configuration.
This is a convenience method that creates an instance of theAwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails.Builder
avoiding the need to create one manually viaAwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosecretOptions(List<AwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails>)
.- Parameters:
secretOptions
- a consumer that will call methods onAwsEcsTaskDefinitionContainerDefinitionsLogConfigurationSecretOptionsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-