Interface ActionTypeExecutor.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ActionTypeExecutor.Builder,ActionTypeExecutor>,SdkBuilder<ActionTypeExecutor.Builder,ActionTypeExecutor>,SdkPojo
- Enclosing class:
- ActionTypeExecutor
public static interface ActionTypeExecutor.Builder extends SdkPojo, CopyableBuilder<ActionTypeExecutor.Builder,ActionTypeExecutor>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ActionTypeExecutor.Builderconfiguration(Consumer<ExecutorConfiguration.Builder> configuration)The action configuration properties for the action type.ActionTypeExecutor.Builderconfiguration(ExecutorConfiguration configuration)The action configuration properties for the action type.ActionTypeExecutor.BuilderjobTimeout(Integer jobTimeout)The timeout in seconds for the job.ActionTypeExecutor.BuilderpolicyStatementsTemplate(String policyStatementsTemplate)The policy statement that specifies the permissions in the CodePipeline customer account that are needed to successfully run an action.ActionTypeExecutor.Buildertype(String type)The integration model used to create and update the action type,LambdaorJobWorker.ActionTypeExecutor.Buildertype(ExecutorType type)The integration model used to create and update the action type,LambdaorJobWorker.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
configuration
ActionTypeExecutor.Builder configuration(ExecutorConfiguration configuration)
The action configuration properties for the action type. These properties are specified in the action definition when the action type is created.
- Parameters:
configuration- The action configuration properties for the action type. These properties are specified in the action definition when the action type is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default ActionTypeExecutor.Builder configuration(Consumer<ExecutorConfiguration.Builder> configuration)
The action configuration properties for the action type. These properties are specified in the action definition when the action type is created.
This is a convenience method that creates an instance of theExecutorConfiguration.Builderavoiding the need to create one manually viaExecutorConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(ExecutorConfiguration).- Parameters:
configuration- a consumer that will call methods onExecutorConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
configuration(ExecutorConfiguration)
-
type
ActionTypeExecutor.Builder type(String type)
The integration model used to create and update the action type,
LambdaorJobWorker.- Parameters:
type- The integration model used to create and update the action type,LambdaorJobWorker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutorType,ExecutorType
-
type
ActionTypeExecutor.Builder type(ExecutorType type)
The integration model used to create and update the action type,
LambdaorJobWorker.- Parameters:
type- The integration model used to create and update the action type,LambdaorJobWorker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ExecutorType,ExecutorType
-
policyStatementsTemplate
ActionTypeExecutor.Builder policyStatementsTemplate(String policyStatementsTemplate)
The policy statement that specifies the permissions in the CodePipeline customer account that are needed to successfully run an action.
To grant permission to another account, specify the account ID as the Principal, a domain-style identifier defined by the service, for example
codepipeline.amazonaws.com.The size of the passed JSON policy document cannot exceed 2048 characters.
- Parameters:
policyStatementsTemplate- The policy statement that specifies the permissions in the CodePipeline customer account that are needed to successfully run an action.To grant permission to another account, specify the account ID as the Principal, a domain-style identifier defined by the service, for example
codepipeline.amazonaws.com.The size of the passed JSON policy document cannot exceed 2048 characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobTimeout
ActionTypeExecutor.Builder jobTimeout(Integer jobTimeout)
The timeout in seconds for the job. An action execution can have multiple jobs. This is the timeout for a single job, not the entire action execution.
- Parameters:
jobTimeout- The timeout in seconds for the job. An action execution can have multiple jobs. This is the timeout for a single job, not the entire action execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-