public static final class CfnPublisherProps.Builder
extends java.lang.Object
CfnPublisherProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnPublisherProps.Builder |
acceptTermsAndConditions(java.lang.Boolean acceptTermsAndConditions)
Sets the value of
CfnPublisherProps.getAcceptTermsAndConditions() |
CfnPublisherProps.Builder |
acceptTermsAndConditions(IResolvable acceptTermsAndConditions)
Sets the value of
CfnPublisherProps.getAcceptTermsAndConditions() |
CfnPublisherProps |
build()
Builds the configured instance.
|
CfnPublisherProps.Builder |
connectionArn(java.lang.String connectionArn)
Sets the value of
CfnPublisherProps.getConnectionArn() |
public CfnPublisherProps.Builder acceptTermsAndConditions(java.lang.Boolean acceptTermsAndConditions)
CfnPublisherProps.getAcceptTermsAndConditions()
acceptTermsAndConditions
- Whether you accept the [Terms and Conditions](https://docs.aws.amazon.com/https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf) 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 is false
.this
public CfnPublisherProps.Builder acceptTermsAndConditions(IResolvable acceptTermsAndConditions)
CfnPublisherProps.getAcceptTermsAndConditions()
acceptTermsAndConditions
- Whether you accept the [Terms and Conditions](https://docs.aws.amazon.com/https://cloudformation-registry-documents.s3.amazonaws.com/Terms_and_Conditions_for_AWS_CloudFormation_Registry_Publishers.pdf) 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 is false
.this
public CfnPublisherProps.Builder connectionArn(java.lang.String connectionArn)
CfnPublisherProps.getConnectionArn()
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 Registering your account to publish CloudFormation extensions in the CloudFormation CLI User Guide .this
public CfnPublisherProps build()
CfnPublisherProps
java.lang.NullPointerException
- if any required attribute was not provided