Package software.amazon.awscdk.pipelines
Class PublishAssetsActionProps.Builder
java.lang.Object
software.amazon.awscdk.pipelines.PublishAssetsActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<PublishAssetsActionProps>
- Enclosing interface:
- PublishAssetsActionProps
@Stability(Deprecated)
@Deprecated
public static final class PublishAssetsActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<PublishAssetsActionProps>
Deprecated.
A builder for
PublishAssetsActionProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionactionName
(String actionName) Deprecated.Deprecated.build()
Deprecated.Deprecated.cdkCliVersion
(String cdkCliVersion) Deprecated.cloudAssemblyInput
(Artifact cloudAssemblyInput) Deprecated.createBuildspecFile
(Boolean createBuildspecFile) Deprecated.dependable
(IDependable dependable) Deprecated.preInstallCommands
(List<String> preInstallCommands) Deprecated.projectName
(String projectName) Deprecated.Deprecated.subnetSelection
(SubnetSelection subnetSelection) Deprecated.Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
actionName
@Stability(Deprecated) @Deprecated public PublishAssetsActionProps.Builder actionName(String actionName) Deprecated.Sets the value ofPublishAssetsActionProps.getActionName()
- Parameters:
actionName
- Name of publishing action. This parameter is required.- Returns:
this
-
assetType
@Stability(Deprecated) @Deprecated public PublishAssetsActionProps.Builder assetType(AssetType assetType) Deprecated.Sets the value ofPublishAssetsActionProps.getAssetType()
- Parameters:
assetType
- AssetType we're publishing. This parameter is required.- Returns:
this
-
cloudAssemblyInput
@Stability(Deprecated) @Deprecated public PublishAssetsActionProps.Builder cloudAssemblyInput(Artifact cloudAssemblyInput) Deprecated.Sets the value ofPublishAssetsActionProps.getCloudAssemblyInput()
- Parameters:
cloudAssemblyInput
- The CodePipeline artifact that holds the Cloud Assembly. This parameter is required.- Returns:
this
-
buildSpec
@Stability(Deprecated) @Deprecated public PublishAssetsActionProps.Builder buildSpec(BuildSpec buildSpec) Deprecated.Sets the value ofPublishAssetsActionProps.getBuildSpec()
- Parameters:
buildSpec
- Custom BuildSpec that is merged with generated one.- Returns:
this
-
cdkCliVersion
@Stability(Deprecated) @Deprecated public PublishAssetsActionProps.Builder cdkCliVersion(String cdkCliVersion) Deprecated.Sets the value ofPublishAssetsActionProps.getCdkCliVersion()
- Parameters:
cdkCliVersion
- Version of CDK CLI to 'npm install'.- Returns:
this
-
createBuildspecFile
@Stability(Deprecated) @Deprecated public PublishAssetsActionProps.Builder createBuildspecFile(Boolean createBuildspecFile) Deprecated.Sets the value ofPublishAssetsActionProps.getCreateBuildspecFile()
- Parameters:
createBuildspecFile
- Use a file buildspec written to the cloud assembly instead of an inline buildspec. This prevents size limitation errors as inline specs have a max length of 25600 characters- Returns:
this
-
dependable
@Stability(Deprecated) @Deprecated public PublishAssetsActionProps.Builder dependable(IDependable dependable) Deprecated.Sets the value ofPublishAssetsActionProps.getDependable()
- Parameters:
dependable
- Any Dependable construct that the CodeBuild project needs to take a dependency on.- Returns:
this
-
preInstallCommands
@Stability(Deprecated) @Deprecated public PublishAssetsActionProps.Builder preInstallCommands(List<String> preInstallCommands) Deprecated.Sets the value ofPublishAssetsActionProps.getPreInstallCommands()
- Parameters:
preInstallCommands
- Additional commands to run before installing cdk-assert Use this to setup proxies or npm mirrors.- Returns:
this
-
projectName
@Stability(Deprecated) @Deprecated public PublishAssetsActionProps.Builder projectName(String projectName) Deprecated.Sets the value ofPublishAssetsActionProps.getProjectName()
- Parameters:
projectName
- Name of the CodeBuild project.- Returns:
this
-
role
Deprecated.Sets the value ofPublishAssetsActionProps.getRole()
- Parameters:
role
- Role to use for CodePipeline and CodeBuild to build and publish the assets.- Returns:
this
-
subnetSelection
@Stability(Deprecated) @Deprecated public PublishAssetsActionProps.Builder subnetSelection(SubnetSelection subnetSelection) Deprecated.Sets the value ofPublishAssetsActionProps.getSubnetSelection()
- Parameters:
subnetSelection
- Which subnets to use. Only used if 'vpc' is supplied.- Returns:
this
-
vpc
Deprecated.Sets the value ofPublishAssetsActionProps.getVpc()
- Parameters:
vpc
- The VPC where to execute the PublishAssetsAction.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<PublishAssetsActionProps>
- Returns:
- a new instance of
PublishAssetsActionProps
- Throws:
NullPointerException
- if any required attribute was not provided
-