Class S3SourceVariables.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.actions.S3SourceVariables.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<S3SourceVariables>
- Enclosing interface:
S3SourceVariables
@Stability(Stable)
public static final class S3SourceVariables.Builder
extends Object
implements software.amazon.jsii.Builder<S3SourceVariables>
A builder for
S3SourceVariables
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofS3SourceVariables.getETag()
Sets the value ofS3SourceVariables.getVersionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eTag
Sets the value ofS3SourceVariables.getETag()
- Parameters:
eTag
- The e-tag of the S3 version of the object that triggered the build. This parameter is required.- Returns:
this
-
versionId
Sets the value ofS3SourceVariables.getVersionId()
- Parameters:
versionId
- The identifier of the S3 version of the object that triggered the build. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<S3SourceVariables>
- Returns:
- a new instance of
S3SourceVariables
- Throws:
NullPointerException
- if any required attribute was not provided
-