Package software.amazon.awscdk
Class CfnPublisherProps.Builder
java.lang.Object
software.amazon.awscdk.CfnPublisherProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPublisherProps>
- Enclosing interface:
CfnPublisherProps
@Stability(Stable)
public static final class CfnPublisherProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPublisherProps>
A builder for
CfnPublisherProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionacceptTermsAndConditions
(Boolean acceptTermsAndConditions) Sets the value ofCfnPublisherProps.getAcceptTermsAndConditions()
acceptTermsAndConditions
(IResolvable acceptTermsAndConditions) Sets the value ofCfnPublisherProps.getAcceptTermsAndConditions()
build()
Builds the configured instance.connectionArn
(String connectionArn) Sets the value ofCfnPublisherProps.getConnectionArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptTermsAndConditions
@Stability(Stable) public CfnPublisherProps.Builder acceptTermsAndConditions(Boolean acceptTermsAndConditions) Sets the value ofCfnPublisherProps.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. This parameter is required. The default isfalse
.- Returns:
this
-
acceptTermsAndConditions
@Stability(Stable) public CfnPublisherProps.Builder acceptTermsAndConditions(IResolvable acceptTermsAndConditions) Sets the value ofCfnPublisherProps.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. This parameter is required. The default isfalse
.- Returns:
this
-
connectionArn
Sets the value ofCfnPublisherProps.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnPublisherProps>
- Returns:
- a new instance of
CfnPublisherProps
- Throws:
NullPointerException
- if any required attribute was not provided
-