Interface ActionTypeExecutor.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ActionTypeExecutor.Builder,
,ActionTypeExecutor> SdkBuilder<ActionTypeExecutor.Builder,
,ActionTypeExecutor> SdkPojo
- Enclosing class:
ActionTypeExecutor
-
Method Summary
Modifier and TypeMethodDescriptiondefault ActionTypeExecutor.Builder
configuration
(Consumer<ExecutorConfiguration.Builder> configuration) The action configuration properties for the action type.configuration
(ExecutorConfiguration configuration) The action configuration properties for the action type.jobTimeout
(Integer jobTimeout) The timeout in seconds for the job.policyStatementsTemplate
(String policyStatementsTemplate) The policy statement that specifies the permissions in the CodePipeline customer account that are needed to successfully run an action.The integration model used to create and update the action type,Lambda
orJobWorker
.type
(ExecutorType type) The integration model used to create and update the action type,Lambda
orJobWorker
.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, sdkFields
-
Method Details
-
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.Builder
avoiding the need to create one manually viaExecutorConfiguration.builder()
.When the
Consumer
completes,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:
-
type
The integration model used to create and update the action type,
Lambda
orJobWorker
.- Parameters:
type
- The integration model used to create and update the action type,Lambda
orJobWorker
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The integration model used to create and update the action type,
Lambda
orJobWorker
.- Parameters:
type
- The integration model used to create and update the action type,Lambda
orJobWorker
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-