Class CfnPipeline.ActionTypeIdProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.CfnPipeline.ActionTypeIdProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.ActionTypeIdProperty>
- Enclosing interface:
CfnPipeline.ActionTypeIdProperty
@Stability(Stable)
public static final class CfnPipeline.ActionTypeIdProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.ActionTypeIdProperty>
A builder for
CfnPipeline.ActionTypeIdProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnPipeline.ActionTypeIdProperty.getCategory()
Sets the value ofCfnPipeline.ActionTypeIdProperty.getOwner()
Sets the value ofCfnPipeline.ActionTypeIdProperty.getProvider()
Sets the value ofCfnPipeline.ActionTypeIdProperty.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
category
Sets the value ofCfnPipeline.ActionTypeIdProperty.getCategory()
- Parameters:
category
- A category defines what kind of action can be taken in the stage, and constrains the provider type for the action. This parameter is required. Valid categories are limited to one of the values below.Source
Build
Test
Deploy
Invoke
Approval
- Returns:
this
-
owner
Sets the value ofCfnPipeline.ActionTypeIdProperty.getOwner()
- Parameters:
owner
- The creator of the action being called. This parameter is required. There are three valid values for theOwner
field in the action category section within your pipeline structure:AWS
,ThirdParty
, andCustom
. For more information, see Valid Action Types and Providers in CodePipeline .- Returns:
this
-
provider
Sets the value ofCfnPipeline.ActionTypeIdProperty.getProvider()
- Parameters:
provider
- The provider of the service being called by the action. This parameter is required. Valid providers are determined by the action category. For example, an action in the Deploy category type might have a provider of CodeDeploy, which would be specified asCodeDeploy
. For more information, see Valid Action Types and Providers in CodePipeline .- Returns:
this
-
version
Sets the value ofCfnPipeline.ActionTypeIdProperty.getVersion()
- Parameters:
version
- A string that describes the action version. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipeline.ActionTypeIdProperty>
- Returns:
- a new instance of
CfnPipeline.ActionTypeIdProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-