Class CfnDeploymentGroupPropsMixin.RevisionLocationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codedeploy.CfnDeploymentGroupPropsMixin.RevisionLocationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.RevisionLocationProperty>
- Enclosing interface:
CfnDeploymentGroupPropsMixin.RevisionLocationProperty
@Stability(Stable)
public static final class CfnDeploymentGroupPropsMixin.RevisionLocationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.RevisionLocationProperty>
A builder for
CfnDeploymentGroupPropsMixin.RevisionLocationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.gitHubLocation(CfnDeploymentGroupPropsMixin.GitHubLocationProperty gitHubLocation) gitHubLocation(IResolvable gitHubLocation) revisionType(String revisionType) Sets the value ofCfnDeploymentGroupPropsMixin.RevisionLocationProperty.getRevisionType()Sets the value ofCfnDeploymentGroupPropsMixin.RevisionLocationProperty.getS3Location()s3Location(IResolvable s3Location) Sets the value ofCfnDeploymentGroupPropsMixin.RevisionLocationProperty.getS3Location()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
gitHubLocation
@Stability(Stable) public CfnDeploymentGroupPropsMixin.RevisionLocationProperty.Builder gitHubLocation(IResolvable gitHubLocation) - Parameters:
gitHubLocation- Information about the location of application artifacts stored in GitHub.- Returns:
this
-
gitHubLocation
@Stability(Stable) public CfnDeploymentGroupPropsMixin.RevisionLocationProperty.Builder gitHubLocation(CfnDeploymentGroupPropsMixin.GitHubLocationProperty gitHubLocation) - Parameters:
gitHubLocation- Information about the location of application artifacts stored in GitHub.- Returns:
this
-
revisionType
@Stability(Stable) public CfnDeploymentGroupPropsMixin.RevisionLocationProperty.Builder revisionType(String revisionType) Sets the value ofCfnDeploymentGroupPropsMixin.RevisionLocationProperty.getRevisionType()- Parameters:
revisionType- The type of application revision:.- S3: An application revision stored in Amazon S3.
- GitHub: An application revision stored in GitHub (EC2/On-premises deployments only).
- String: A YAML-formatted or JSON-formatted string ( AWS Lambda deployments only).
- AppSpecContent: An
AppSpecContentobject that contains the contents of an AppSpec file for an AWS Lambda or Amazon ECS deployment. The content is formatted as JSON or YAML stored as a RawString.
- Returns:
this
-
s3Location
@Stability(Stable) public CfnDeploymentGroupPropsMixin.RevisionLocationProperty.Builder s3Location(IResolvable s3Location) Sets the value ofCfnDeploymentGroupPropsMixin.RevisionLocationProperty.getS3Location()- Parameters:
s3Location- Information about the location of a revision stored in Amazon S3.- Returns:
this
-
s3Location
@Stability(Stable) public CfnDeploymentGroupPropsMixin.RevisionLocationProperty.Builder s3Location(CfnDeploymentGroupPropsMixin.S3LocationProperty s3Location) Sets the value ofCfnDeploymentGroupPropsMixin.RevisionLocationProperty.getS3Location()- Parameters:
s3Location- Information about the location of a revision stored in Amazon S3.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.RevisionLocationProperty>- Returns:
- a new instance of
CfnDeploymentGroupPropsMixin.RevisionLocationProperty - Throws:
NullPointerException- if any required attribute was not provided
-