Class CfnDaemonTaskDefinition.LogConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnDaemonTaskDefinition.LogConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDaemonTaskDefinition.LogConfigurationProperty>
- Enclosing interface:
CfnDaemonTaskDefinition.LogConfigurationProperty
@Stability(Stable)
public static final class CfnDaemonTaskDefinition.LogConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDaemonTaskDefinition.LogConfigurationProperty>
A builder for
CfnDaemonTaskDefinition.LogConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDaemonTaskDefinition.LogConfigurationProperty.getLogDriver()Sets the value ofCfnDaemonTaskDefinition.LogConfigurationProperty.getOptions()options(IResolvable options) Sets the value ofCfnDaemonTaskDefinition.LogConfigurationProperty.getOptions()secretOptions(List<? extends Object> secretOptions) Sets the value ofCfnDaemonTaskDefinition.LogConfigurationProperty.getSecretOptions()secretOptions(IResolvable secretOptions) Sets the value ofCfnDaemonTaskDefinition.LogConfigurationProperty.getSecretOptions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logDriver
@Stability(Stable) public CfnDaemonTaskDefinition.LogConfigurationProperty.Builder logDriver(String logDriver) Sets the value ofCfnDaemonTaskDefinition.LogConfigurationProperty.getLogDriver()- Parameters:
logDriver- the value to be set. This parameter is required.- Returns:
this
-
options
@Stability(Stable) public CfnDaemonTaskDefinition.LogConfigurationProperty.Builder options(Map<String, String> options) Sets the value ofCfnDaemonTaskDefinition.LogConfigurationProperty.getOptions()- Parameters:
options- the value to be set.- Returns:
this
-
options
@Stability(Stable) public CfnDaemonTaskDefinition.LogConfigurationProperty.Builder options(IResolvable options) Sets the value ofCfnDaemonTaskDefinition.LogConfigurationProperty.getOptions()- Parameters:
options- the value to be set.- Returns:
this
-
secretOptions
@Stability(Stable) public CfnDaemonTaskDefinition.LogConfigurationProperty.Builder secretOptions(IResolvable secretOptions) Sets the value ofCfnDaemonTaskDefinition.LogConfigurationProperty.getSecretOptions()- Parameters:
secretOptions- the value to be set.- Returns:
this
-
secretOptions
@Stability(Stable) public CfnDaemonTaskDefinition.LogConfigurationProperty.Builder secretOptions(List<? extends Object> secretOptions) Sets the value ofCfnDaemonTaskDefinition.LogConfigurationProperty.getSecretOptions()- Parameters:
secretOptions- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDaemonTaskDefinition.LogConfigurationProperty>- Returns:
- a new instance of
CfnDaemonTaskDefinition.LogConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-