public static final class CustomActionRegistration.Builder
extends java.lang.Object
CustomActionRegistration
.Modifier and Type | Method and Description |
---|---|
CustomActionRegistration.Builder |
actionProperties(java.util.List<? extends CustomActionProperty> actionProperties)
The properties used for customizing the instance of your Action.
|
CustomActionRegistration.Builder |
artifactBounds(ActionArtifactBounds artifactBounds)
The artifact bounds of the Action.
|
CustomActionRegistration |
build() |
CustomActionRegistration.Builder |
category(ActionCategory category)
The category of the Action.
|
static CustomActionRegistration.Builder |
create(software.constructs.Construct scope,
java.lang.String id) |
CustomActionRegistration.Builder |
entityUrl(java.lang.String entityUrl)
The URL shown for the entire Action in the Pipeline UI.
|
CustomActionRegistration.Builder |
executionUrl(java.lang.String executionUrl)
The URL shown for a particular execution of an Action in the Pipeline UI.
|
CustomActionRegistration.Builder |
provider(java.lang.String provider)
The provider of the Action.
|
CustomActionRegistration.Builder |
version(java.lang.String version)
The version of your Action.
|
public static CustomActionRegistration.Builder create(software.constructs.Construct scope, java.lang.String id)
scope
- This parameter is required.id
- This parameter is required.CustomActionRegistration.Builder
.public CustomActionRegistration.Builder artifactBounds(ActionArtifactBounds artifactBounds)
artifactBounds
- The artifact bounds of the Action. This parameter is required.this
public CustomActionRegistration.Builder category(ActionCategory category)
category
- The category of the Action. This parameter is required.this
public CustomActionRegistration.Builder provider(java.lang.String provider)
For example, 'MyCustomActionProvider'
provider
- The provider of the Action. This parameter is required.this
public CustomActionRegistration.Builder actionProperties(java.util.List<? extends CustomActionProperty> actionProperties)
Default: []
actionProperties
- The properties used for customizing the instance of your Action. This parameter is required.this
public CustomActionRegistration.Builder entityUrl(java.lang.String entityUrl)
Default: none
entityUrl
- The URL shown for the entire Action in the Pipeline UI. This parameter is required.this
public CustomActionRegistration.Builder executionUrl(java.lang.String executionUrl)
Default: none
executionUrl
- The URL shown for a particular execution of an Action in the Pipeline UI. This parameter is required.this
public CustomActionRegistration.Builder version(java.lang.String version)
Default: '1'
version
- The version of your Action. This parameter is required.this
public CustomActionRegistration build()