Class CfnDeploymentGroupPropsMixin.S3LocationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codedeploy.CfnDeploymentGroupPropsMixin.S3LocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.S3LocationProperty>
- Enclosing interface:
CfnDeploymentGroupPropsMixin.S3LocationProperty
@Stability(Stable)
public static final class CfnDeploymentGroupPropsMixin.S3LocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.S3LocationProperty>
A builder for
CfnDeploymentGroupPropsMixin.S3LocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDeploymentGroupPropsMixin.S3LocationProperty.getBucket()build()Builds the configured instance.bundleType(String bundleType) Sets the value ofCfnDeploymentGroupPropsMixin.S3LocationProperty.getBundleType()Sets the value ofCfnDeploymentGroupPropsMixin.S3LocationProperty.getETag()Sets the value ofCfnDeploymentGroupPropsMixin.S3LocationProperty.getKey()Sets the value ofCfnDeploymentGroupPropsMixin.S3LocationProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bucket
@Stability(Stable) public CfnDeploymentGroupPropsMixin.S3LocationProperty.Builder bucket(String bucket) Sets the value ofCfnDeploymentGroupPropsMixin.S3LocationProperty.getBucket()- Parameters:
bucket- The name of the Amazon S3 bucket where the application revision is stored.- Returns:
this
-
bundleType
@Stability(Stable) public CfnDeploymentGroupPropsMixin.S3LocationProperty.Builder bundleType(String bundleType) Sets the value ofCfnDeploymentGroupPropsMixin.S3LocationProperty.getBundleType()- Parameters:
bundleType- The file type of the application revision. Must be one of the following:.- JSON
- tar: A tar archive file.
- tgz: A compressed tar archive file.
- YAML
- zip: A zip archive file.
- Returns:
this
-
eTag
Sets the value ofCfnDeploymentGroupPropsMixin.S3LocationProperty.getETag()- Parameters:
eTag- The ETag of the Amazon S3 object that represents the bundled artifacts for the application revision. If the ETag is not specified as an input parameter, ETag validation of the object is skipped.- Returns:
this
-
key
Sets the value ofCfnDeploymentGroupPropsMixin.S3LocationProperty.getKey()- Parameters:
key- The name of the Amazon S3 object that represents the bundled artifacts for the application revision.- Returns:
this
-
version
@Stability(Stable) public CfnDeploymentGroupPropsMixin.S3LocationProperty.Builder version(String version) Sets the value ofCfnDeploymentGroupPropsMixin.S3LocationProperty.getVersion()- Parameters:
version- A specific version of the Amazon S3 object that represents the bundled artifacts for the application revision. If the version is not specified, the system uses the most recent version by default.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.S3LocationProperty>- Returns:
- a new instance of
CfnDeploymentGroupPropsMixin.S3LocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-