Class CustomActionRegistrationProps.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.CustomActionRegistrationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CustomActionRegistrationProps>
- Enclosing interface:
CustomActionRegistrationProps
@Stability(Stable)
public static final class CustomActionRegistrationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CustomActionRegistrationProps>
A builder for
CustomActionRegistrationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactionProperties(List<? extends CustomActionProperty> actionProperties) Sets the value ofCustomActionRegistrationProps.getActionProperties()artifactBounds(ActionArtifactBounds artifactBounds) Sets the value ofCustomActionRegistrationProps.getArtifactBounds()build()Builds the configured instance.category(ActionCategory category) Sets the value ofCustomActionRegistrationProps.getCategory()Sets the value ofCustomActionRegistrationProps.getEntityUrl()executionUrl(String executionUrl) Sets the value ofCustomActionRegistrationProps.getExecutionUrl()Sets the value ofCustomActionRegistrationProps.getProvider()Sets the value ofCustomActionRegistrationProps.getVersion()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
artifactBounds
@Stability(Stable) public CustomActionRegistrationProps.Builder artifactBounds(ActionArtifactBounds artifactBounds) Sets the value ofCustomActionRegistrationProps.getArtifactBounds()- Parameters:
artifactBounds- The artifact bounds of the Action. This parameter is required.- Returns:
this
-
category
Sets the value ofCustomActionRegistrationProps.getCategory()- Parameters:
category- The category of the Action. This parameter is required.- Returns:
this
-
provider
Sets the value ofCustomActionRegistrationProps.getProvider()- Parameters:
provider- The provider of the Action. This parameter is required. For example,'MyCustomActionProvider'- Returns:
this
-
actionProperties
@Stability(Stable) public CustomActionRegistrationProps.Builder actionProperties(List<? extends CustomActionProperty> actionProperties) Sets the value ofCustomActionRegistrationProps.getActionProperties()- Parameters:
actionProperties- The properties used for customizing the instance of your Action.- Returns:
this
-
entityUrl
Sets the value ofCustomActionRegistrationProps.getEntityUrl()- Parameters:
entityUrl- The URL shown for the entire Action in the Pipeline UI.- Returns:
this
-
executionUrl
Sets the value ofCustomActionRegistrationProps.getExecutionUrl()- Parameters:
executionUrl- The URL shown for a particular execution of an Action in the Pipeline UI.- Returns:
this
-
version
Sets the value ofCustomActionRegistrationProps.getVersion()- Parameters:
version- The version of your Action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CustomActionRegistrationProps>- Returns:
- a new instance of
CustomActionRegistrationProps - Throws:
NullPointerException- if any required attribute was not provided
-