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