Class CfnPublicTypeVersionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPublicTypeVersionProps>
- Enclosing interface:
CfnPublicTypeVersionProps
CfnPublicTypeVersionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPublicTypeVersionProps.getArn()build()Builds the configured instance.logDeliveryBucket(String logDeliveryBucket) Sets the value ofCfnPublicTypeVersionProps.getLogDeliveryBucket()publicVersionNumber(String publicVersionNumber) Sets the value ofCfnPublicTypeVersionProps.getPublicVersionNumber()Sets the value ofCfnPublicTypeVersionProps.getType()Sets the value ofCfnPublicTypeVersionProps.getTypeName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
Sets the value ofCfnPublicTypeVersionProps.getArn()- Parameters:
arn- The Amazon Resource Number (ARN) of the extension. Conditional: You must specifyArn, orTypeNameandType.- Returns:
this
-
logDeliveryBucket
@Stability(Stable) public CfnPublicTypeVersionProps.Builder logDeliveryBucket(String logDeliveryBucket) Sets the value ofCfnPublicTypeVersionProps.getLogDeliveryBucket()- Parameters:
logDeliveryBucket- The S3 bucket to which CloudFormation delivers the contract test execution logs. CloudFormation delivers the logs by the time contract testing has completed and the extension has been assigned a test type status ofPASSEDorFAILED.The user initiating the stack operation must be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions:
- s3:GetObject
- s3:PutObject
- Returns:
this
-
publicVersionNumber
@Stability(Stable) public CfnPublicTypeVersionProps.Builder publicVersionNumber(String publicVersionNumber) Sets the value ofCfnPublicTypeVersionProps.getPublicVersionNumber()- Parameters:
publicVersionNumber- The version number to assign to this version of the extension. Use the following format, and adhere to semantic versioning when assigning a version number to your extension:MAJOR.MINOR.PATCHFor more information, see Semantic Versioning 2.0.0 .
If you don't specify a version number, CloudFormation increments the version number by one minor version release.
You cannot specify a version number the first time you publish a type. CloudFormation automatically sets the first version number to be
1.0.0.- Returns:
this
-
type
Sets the value ofCfnPublicTypeVersionProps.getType()- Parameters:
type- The type of the extension to test. Conditional: You must specifyArn, orTypeNameandType.- Returns:
this
-
typeName
Sets the value ofCfnPublicTypeVersionProps.getTypeName()- Parameters:
typeName- The name of the extension to test. Conditional: You must specifyArn, orTypeNameandType.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPublicTypeVersionProps>- Returns:
- a new instance of
CfnPublicTypeVersionProps - Throws:
NullPointerException- if any required attribute was not provided
-