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 Details

    • 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 the ExecutorConfiguration.Builder avoiding the need to create one manually via ExecutorConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to configuration(ExecutorConfiguration).

      Parameters:
      configuration - a consumer that will call methods on ExecutorConfiguration.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 or JobWorker.

      Parameters:
      type - The integration model used to create and update the action type, Lambda or JobWorker.
      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 or JobWorker.

      Parameters:
      type - The integration model used to create and update the action type, Lambda or JobWorker.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.