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