Class CfnDeploymentGroupPropsMixin.GitHubLocationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codedeploy.CfnDeploymentGroupPropsMixin.GitHubLocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.GitHubLocationProperty>
- Enclosing interface:
CfnDeploymentGroupPropsMixin.GitHubLocationProperty
@Stability(Stable)
public static final class CfnDeploymentGroupPropsMixin.GitHubLocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.GitHubLocationProperty>
A builder for
CfnDeploymentGroupPropsMixin.GitHubLocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDeploymentGroupPropsMixin.GitHubLocationProperty.getCommitId()repository(String repository) Sets the value ofCfnDeploymentGroupPropsMixin.GitHubLocationProperty.getRepository()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
commitId
@Stability(Stable) public CfnDeploymentGroupPropsMixin.GitHubLocationProperty.Builder commitId(String commitId) Sets the value ofCfnDeploymentGroupPropsMixin.GitHubLocationProperty.getCommitId()- Parameters:
commitId- The SHA1 commit ID of the GitHub commit that represents the bundled artifacts for the application revision.- Returns:
this
-
repository
@Stability(Stable) public CfnDeploymentGroupPropsMixin.GitHubLocationProperty.Builder repository(String repository) Sets the value ofCfnDeploymentGroupPropsMixin.GitHubLocationProperty.getRepository()- Parameters:
repository- The GitHub account and repository pair that stores a reference to the commit that represents the bundled artifacts for the application revision. Specify the value asaccount/repository.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.GitHubLocationProperty>- Returns:
- a new instance of
CfnDeploymentGroupPropsMixin.GitHubLocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-