public static final class CfnPublicTypeVersionProps.Builder
extends java.lang.Object
CfnPublicTypeVersionProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnPublicTypeVersionProps.Builder |
arn(java.lang.String arn)
Sets the value of
CfnPublicTypeVersionProps.getArn() |
CfnPublicTypeVersionProps |
build()
Builds the configured instance.
|
CfnPublicTypeVersionProps.Builder |
logDeliveryBucket(java.lang.String logDeliveryBucket)
Sets the value of
CfnPublicTypeVersionProps.getLogDeliveryBucket() |
CfnPublicTypeVersionProps.Builder |
publicVersionNumber(java.lang.String publicVersionNumber)
Sets the value of
CfnPublicTypeVersionProps.getPublicVersionNumber() |
CfnPublicTypeVersionProps.Builder |
type(java.lang.String type)
Sets the value of
CfnPublicTypeVersionProps.getType() |
CfnPublicTypeVersionProps.Builder |
typeName(java.lang.String typeName)
Sets the value of
CfnPublicTypeVersionProps.getTypeName() |
public CfnPublicTypeVersionProps.Builder arn(java.lang.String arn)
CfnPublicTypeVersionProps.getArn()
arn
- The Amazon Resource Number (ARN) of the extension.
Conditional: You must specify Arn
, or TypeName
and Type
.this
public CfnPublicTypeVersionProps.Builder logDeliveryBucket(java.lang.String logDeliveryBucket)
CfnPublicTypeVersionProps.getLogDeliveryBucket()
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 of PASSED
or FAILED
.
The user initiating the stack operation must be able to access items in the specified S3 bucket. Specifically, the user needs the following permissions:
For more information, see Actions, Resources, and Condition Keys for Amazon S3 in the AWS Identity and Access Management User Guide .
this
public CfnPublicTypeVersionProps.Builder publicVersionNumber(java.lang.String publicVersionNumber)
CfnPublicTypeVersionProps.getPublicVersionNumber()
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.PATCH
For 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. AWS CloudFormation automatically sets the first version number to be 1.0.0
.
this
public CfnPublicTypeVersionProps.Builder type(java.lang.String type)
CfnPublicTypeVersionProps.getType()
type
- The type of the extension to test.
Conditional: You must specify Arn
, or TypeName
and Type
.this
public CfnPublicTypeVersionProps.Builder typeName(java.lang.String typeName)
CfnPublicTypeVersionProps.getTypeName()
typeName
- The name of the extension to test.
Conditional: You must specify Arn
, or TypeName
and Type
.this
public CfnPublicTypeVersionProps build()
CfnPublicTypeVersionProps
java.lang.NullPointerException
- if any required attribute was not provided