Class CfnTaskDefinitionPropsMixin.EnvironmentFileProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnTaskDefinitionPropsMixin.EnvironmentFileProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTaskDefinitionPropsMixin.EnvironmentFileProperty>
- Enclosing interface:
CfnTaskDefinitionPropsMixin.EnvironmentFileProperty
@Stability(Stable)
public static final class CfnTaskDefinitionPropsMixin.EnvironmentFileProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTaskDefinitionPropsMixin.EnvironmentFileProperty>
A builder for
CfnTaskDefinitionPropsMixin.EnvironmentFileProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTaskDefinitionPropsMixin.EnvironmentFileProperty.getType()Sets the value ofCfnTaskDefinitionPropsMixin.EnvironmentFileProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
@Stability(Stable) public CfnTaskDefinitionPropsMixin.EnvironmentFileProperty.Builder type(String type) Sets the value ofCfnTaskDefinitionPropsMixin.EnvironmentFileProperty.getType()- Parameters:
type- The file type to use. Environment files are objects in Amazon S3. The only supported value iss3.- Returns:
this
-
value
@Stability(Stable) public CfnTaskDefinitionPropsMixin.EnvironmentFileProperty.Builder value(String value) Sets the value ofCfnTaskDefinitionPropsMixin.EnvironmentFileProperty.getValue()- Parameters:
value- The Amazon Resource Name (ARN) of the Amazon S3 object containing the environment variable file.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTaskDefinitionPropsMixin.EnvironmentFileProperty>- Returns:
- a new instance of
CfnTaskDefinitionPropsMixin.EnvironmentFileProperty - Throws:
NullPointerException- if any required attribute was not provided
-