public static final class CommonAwsActionProps.Builder
extends java.lang.Object
CommonAwsActionProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CommonAwsActionProps.Builder |
actionName(java.lang.String actionName)
Sets the value of
CommonActionProps.getActionName() |
CommonAwsActionProps |
build()
Builds the configured instance.
|
CommonAwsActionProps.Builder |
role(IRole role)
Sets the value of
CommonAwsActionProps.getRole() |
CommonAwsActionProps.Builder |
runOrder(java.lang.Number runOrder)
Sets the value of
CommonActionProps.getRunOrder() |
CommonAwsActionProps.Builder |
variablesNamespace(java.lang.String variablesNamespace)
Sets the value of
CommonActionProps.getVariablesNamespace() |
public CommonAwsActionProps.Builder role(IRole role)
CommonAwsActionProps.getRole()
role
- The Role in which context's this Action will be executing in.
The Pipeline's Role will assume this Role
(the required permissions for that will be granted automatically)
right before executing this Action.
This Action will be passed into your {@link IAction.bind}
method in the {@link ActionBindOptions.role} property.this
public CommonAwsActionProps.Builder actionName(java.lang.String actionName)
CommonActionProps.getActionName()
actionName
- The physical, human-readable name of the Action. This parameter is required.
Note that Action names must be unique within a single Stage.this
public CommonAwsActionProps.Builder runOrder(java.lang.Number runOrder)
CommonActionProps.getRunOrder()
runOrder
- The runOrder property for this Action.
RunOrder determines the relative order in which multiple Actions in the same Stage execute.this
public CommonAwsActionProps.Builder variablesNamespace(java.lang.String variablesNamespace)
CommonActionProps.getVariablesNamespace()
variablesNamespace
- The name of the namespace to use for variables emitted by this action.this
public CommonAwsActionProps build()
CommonAwsActionProps
java.lang.NullPointerException
- if any required attribute was not provided