Class CfnPublisherMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cloudformation.CfnPublisherMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPublisherMixinProps>
- Enclosing interface:
CfnPublisherMixinProps
@Stability(Stable)
public static final class CfnPublisherMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPublisherMixinProps>
A builder for
CfnPublisherMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptTermsAndConditions(Boolean acceptTermsAndConditions) Sets the value ofCfnPublisherMixinProps.getAcceptTermsAndConditions()acceptTermsAndConditions(IResolvable acceptTermsAndConditions) Sets the value ofCfnPublisherMixinProps.getAcceptTermsAndConditions()build()Builds the configured instance.connectionArn(String connectionArn) Sets the value ofCfnPublisherMixinProps.getConnectionArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptTermsAndConditions
@Stability(Stable) public CfnPublisherMixinProps.Builder acceptTermsAndConditions(Boolean acceptTermsAndConditions) Sets the value ofCfnPublisherMixinProps.getAcceptTermsAndConditions()- Parameters:
acceptTermsAndConditions- Whether you accept the Terms and Conditions for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to register to publish public extensions to the CloudFormation registry. The default isfalse.- Returns:
this
-
acceptTermsAndConditions
@Stability(Stable) public CfnPublisherMixinProps.Builder acceptTermsAndConditions(IResolvable acceptTermsAndConditions) Sets the value ofCfnPublisherMixinProps.getAcceptTermsAndConditions()- Parameters:
acceptTermsAndConditions- Whether you accept the Terms and Conditions for publishing extensions in the CloudFormation registry. You must accept the terms and conditions in order to register to publish public extensions to the CloudFormation registry. The default isfalse.- Returns:
this
-
connectionArn
Sets the value ofCfnPublisherMixinProps.getConnectionArn()- Parameters:
connectionArn- If you are using a Bitbucket or GitHub account for identity verification, the Amazon Resource Name (ARN) for your connection to that account. For more information, see Prerequisite: Registering your account to publish CloudFormation extensions in the AWS CloudFormation Command Line Interface (CLI) User Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPublisherMixinProps>- Returns:
- a new instance of
CfnPublisherMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-