Class EnvironmentFileConfig.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.EnvironmentFileConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<EnvironmentFileConfig>
- Enclosing interface:
- EnvironmentFileConfig
@Stability(Stable)
public static final class EnvironmentFileConfig.Builder
extends Object
implements software.amazon.jsii.Builder<EnvironmentFileConfig>
A builder for
EnvironmentFileConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.fileType(EnvironmentFileType fileType) Sets the value ofEnvironmentFileConfig.getFileType()s3Location(Location s3Location) Sets the value ofEnvironmentFileConfig.getS3Location()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fileType
Sets the value ofEnvironmentFileConfig.getFileType()- Parameters:
fileType- The type of environment file. This parameter is required.- Returns:
this
-
s3Location
Sets the value ofEnvironmentFileConfig.getS3Location()- Parameters:
s3Location- The location of the environment file in S3. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<EnvironmentFileConfig>- Returns:
- a new instance of
EnvironmentFileConfig - Throws:
NullPointerException- if any required attribute was not provided
-