Package software.amazon.awscdk.pipelines
Class AssetPublishingCommand.Builder
java.lang.Object
software.amazon.awscdk.pipelines.AssetPublishingCommand.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssetPublishingCommand>
- Enclosing interface:
AssetPublishingCommand
@Stability(Deprecated)
@Deprecated
public static final class AssetPublishingCommand.Builder
extends Object
implements software.amazon.jsii.Builder<AssetPublishingCommand>
Deprecated.
A builder for
AssetPublishingCommand
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.assetManifestPath
(String assetManifestPath) Deprecated.assetPublishingRoleArn
(String assetPublishingRoleArn) Deprecated.assetSelector
(String assetSelector) Deprecated.Deprecated.build()
Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
assetId
Deprecated.Sets the value ofAssetPublishingCommand.getAssetId()
- Parameters:
assetId
- Asset identifier. This parameter is required.- Returns:
this
-
assetManifestPath
@Stability(Deprecated) @Deprecated public AssetPublishingCommand.Builder assetManifestPath(String assetManifestPath) Deprecated.Sets the value ofAssetPublishingCommand.getAssetManifestPath()
- Parameters:
assetManifestPath
- Asset manifest path. This parameter is required.- Returns:
this
-
assetPublishingRoleArn
@Stability(Deprecated) @Deprecated public AssetPublishingCommand.Builder assetPublishingRoleArn(String assetPublishingRoleArn) Deprecated.Sets the value ofAssetPublishingCommand.getAssetPublishingRoleArn()
- Parameters:
assetPublishingRoleArn
- ARN of the IAM Role used to publish this asset. This parameter is required.- Returns:
this
-
assetSelector
@Stability(Deprecated) @Deprecated public AssetPublishingCommand.Builder assetSelector(String assetSelector) Deprecated.Sets the value ofAssetPublishingCommand.getAssetSelector()
- Parameters:
assetSelector
- Asset selector to pass tocdk-assets
. This parameter is required.- Returns:
this
-
assetType
@Stability(Deprecated) @Deprecated public AssetPublishingCommand.Builder assetType(AssetType assetType) Deprecated.Sets the value ofAssetPublishingCommand.getAssetType()
- Parameters:
assetType
- Type of asset to publish. This parameter is required.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AssetPublishingCommand>
- Returns:
- a new instance of
AssetPublishingCommand
- Throws:
NullPointerException
- if any required attribute was not provided
-