Class S3SourceProps.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.S3SourceProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<S3SourceProps>
- Enclosing interface:
- S3SourceProps
@Stability(Stable)
public static final class S3SourceProps.Builder
extends Object
implements software.amazon.jsii.Builder<S3SourceProps>
A builder for
S3SourceProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofS3SourceProps.getBucket()build()Builds the configured instance.identifier(String identifier) Sets the value ofSourceProps.getIdentifier()Sets the value ofS3SourceProps.getPath()Sets the value ofS3SourceProps.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
Sets the value ofS3SourceProps.getBucket()- Parameters:
bucket- the value to be set. This parameter is required.- Returns:
this
-
path
Sets the value ofS3SourceProps.getPath()- Parameters:
path- the value to be set. This parameter is required.- Returns:
this
-
version
Sets the value ofS3SourceProps.getVersion()- Parameters:
version- The version ID of the object that represents the build input ZIP file to use.- Returns:
this
-
identifier
Sets the value ofSourceProps.getIdentifier()- Parameters:
identifier- The source identifier. This property is required on secondary sources.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<S3SourceProps>- Returns:
- a new instance of
S3SourceProps - Throws:
NullPointerException- if any required attribute was not provided
-