Class CfnAssociationPropsMixin.GitHubConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnAssociationPropsMixin.GitHubConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociationPropsMixin.GitHubConfigurationProperty>
- Enclosing interface:
CfnAssociationPropsMixin.GitHubConfigurationProperty
@Stability(Stable)
public static final class CfnAssociationPropsMixin.GitHubConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociationPropsMixin.GitHubConfigurationProperty>
A builder for
CfnAssociationPropsMixin.GitHubConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAssociationPropsMixin.GitHubConfigurationProperty.getOwner()Sets the value ofCfnAssociationPropsMixin.GitHubConfigurationProperty.getOwnerType()Sets the value ofCfnAssociationPropsMixin.GitHubConfigurationProperty.getRepoId()Sets the value ofCfnAssociationPropsMixin.GitHubConfigurationProperty.getRepoName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
owner
@Stability(Stable) public CfnAssociationPropsMixin.GitHubConfigurationProperty.Builder owner(String owner) Sets the value ofCfnAssociationPropsMixin.GitHubConfigurationProperty.getOwner()- Parameters:
owner- Repository owner.- Returns:
this
-
ownerType
@Stability(Stable) public CfnAssociationPropsMixin.GitHubConfigurationProperty.Builder ownerType(String ownerType) Sets the value ofCfnAssociationPropsMixin.GitHubConfigurationProperty.getOwnerType()- Parameters:
ownerType- Type of repository owner.- Returns:
this
-
repoId
@Stability(Stable) public CfnAssociationPropsMixin.GitHubConfigurationProperty.Builder repoId(String repoId) Sets the value ofCfnAssociationPropsMixin.GitHubConfigurationProperty.getRepoId()- Parameters:
repoId- Associated Github repo ID.- Returns:
this
-
repoName
@Stability(Stable) public CfnAssociationPropsMixin.GitHubConfigurationProperty.Builder repoName(String repoName) Sets the value ofCfnAssociationPropsMixin.GitHubConfigurationProperty.getRepoName()- Parameters:
repoName- Associated Github repo name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociationPropsMixin.GitHubConfigurationProperty>- Returns:
- a new instance of
CfnAssociationPropsMixin.GitHubConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-