Class CfnRepositoryLinkMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codestarconnections.CfnRepositoryLinkMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRepositoryLinkMixinProps>
- Enclosing interface:
CfnRepositoryLinkMixinProps
@Stability(Stable)
public static final class CfnRepositoryLinkMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRepositoryLinkMixinProps>
A builder for
CfnRepositoryLinkMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionArn(String connectionArn) Sets the value ofCfnRepositoryLinkMixinProps.getConnectionArn()encryptionKeyArn(String encryptionKeyArn) Sets the value ofCfnRepositoryLinkMixinProps.getEncryptionKeyArn()Sets the value ofCfnRepositoryLinkMixinProps.getOwnerId()repositoryName(String repositoryName) Sets the value ofCfnRepositoryLinkMixinProps.getRepositoryName()Sets the value ofCfnRepositoryLinkMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionArn
Sets the value ofCfnRepositoryLinkMixinProps.getConnectionArn()- Parameters:
connectionArn- The Amazon Resource Name (ARN) of the connection associated with the repository link.- Returns:
this
-
encryptionKeyArn
@Stability(Stable) public CfnRepositoryLinkMixinProps.Builder encryptionKeyArn(String encryptionKeyArn) Sets the value ofCfnRepositoryLinkMixinProps.getEncryptionKeyArn()- Parameters:
encryptionKeyArn- The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.- Returns:
this
-
ownerId
Sets the value ofCfnRepositoryLinkMixinProps.getOwnerId()- Parameters:
ownerId- The owner ID for the repository associated with the repository link, such as the owner ID in GitHub.- Returns:
this
-
repositoryName
Sets the value ofCfnRepositoryLinkMixinProps.getRepositoryName()- Parameters:
repositoryName- The name of the repository associated with the repository link.- Returns:
this
-
tags
Sets the value ofCfnRepositoryLinkMixinProps.getTags()- Parameters:
tags- The tags for the repository to be associated with the repository link.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRepositoryLinkMixinProps>- Returns:
- a new instance of
CfnRepositoryLinkMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-