Class CfnGitHubRepositoryPropsMixin.CodeProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codestar.CfnGitHubRepositoryPropsMixin.CodeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGitHubRepositoryPropsMixin.CodeProperty>
- Enclosing interface:
CfnGitHubRepositoryPropsMixin.CodeProperty
@Stability(Stable)
public static final class CfnGitHubRepositoryPropsMixin.CodeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGitHubRepositoryPropsMixin.CodeProperty>
A builder for
CfnGitHubRepositoryPropsMixin.CodeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnGitHubRepositoryPropsMixin.CodeProperty.getS3()s3(IResolvable s3) Sets the value ofCfnGitHubRepositoryPropsMixin.CodeProperty.getS3()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
s3
Sets the value ofCfnGitHubRepositoryPropsMixin.CodeProperty.getS3()- Parameters:
s3- Information about the Amazon S3 bucket that contains a ZIP file of code to be committed to the repository.- Returns:
this
-
s3
@Stability(Stable) public CfnGitHubRepositoryPropsMixin.CodeProperty.Builder s3(CfnGitHubRepositoryPropsMixin.S3Property s3) Sets the value ofCfnGitHubRepositoryPropsMixin.CodeProperty.getS3()- Parameters:
s3- Information about the Amazon S3 bucket that contains a ZIP file of code to be committed to the repository.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGitHubRepositoryPropsMixin.CodeProperty>- Returns:
- a new instance of
CfnGitHubRepositoryPropsMixin.CodeProperty - Throws:
NullPointerException- if any required attribute was not provided
-