Interface Workflow.Builder

    • Method Detail

      • arn

        Workflow.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the workflow resource.

        Parameters:
        arn - The Amazon Resource Name (ARN) of the workflow resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • name

        Workflow.Builder name​(String name)

        The name of the workflow resource.

        Parameters:
        name - The name of the workflow resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • version

        Workflow.Builder version​(String version)

        The workflow resource version. Workflow resources are immutable. To make a change, you can clone a workflow or create a new version.

        Parameters:
        version - The workflow resource version. Workflow resources are immutable. To make a change, you can clone a workflow or create a new version.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        Workflow.Builder description​(String description)

        The description of the workflow.

        Parameters:
        description - The description of the workflow.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • changeDescription

        Workflow.Builder changeDescription​(String changeDescription)

        Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow.

        Parameters:
        changeDescription - Describes what change has been made in this version of the workflow, or what makes this version different from other versions of the workflow.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        Workflow.Builder type​(String type)

        Specifies the image creation stage that the workflow applies to. Image Builder currently supports build and test workflows.

        Parameters:
        type - Specifies the image creation stage that the workflow applies to. Image Builder currently supports build and test workflows.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        WorkflowType, WorkflowType
      • type

        Workflow.Builder type​(WorkflowType type)

        Specifies the image creation stage that the workflow applies to. Image Builder currently supports build and test workflows.

        Parameters:
        type - Specifies the image creation stage that the workflow applies to. Image Builder currently supports build and test workflows.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        WorkflowType, WorkflowType
      • state

        Workflow.Builder state​(WorkflowState state)

        Describes the current status of the workflow and the reason for that status.

        Parameters:
        state - Describes the current status of the workflow and the reason for that status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • owner

        Workflow.Builder owner​(String owner)

        The owner of the workflow resource.

        Parameters:
        owner - The owner of the workflow resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • data

        Workflow.Builder data​(String data)

        Contains the YAML document content for the workflow.

        Parameters:
        data - Contains the YAML document content for the workflow.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • kmsKeyId

        Workflow.Builder kmsKeyId​(String kmsKeyId)

        The KMS key identifier used to encrypt the workflow resource.

        Parameters:
        kmsKeyId - The KMS key identifier used to encrypt the workflow resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dateCreated

        Workflow.Builder dateCreated​(String dateCreated)

        The timestamp when Image Builder created the workflow resource.

        Parameters:
        dateCreated - The timestamp when Image Builder created the workflow resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        Workflow.Builder tags​(Map<String,​String> tags)

        The tags that apply to the workflow resource

        Parameters:
        tags - The tags that apply to the workflow resource
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parameters

        Workflow.Builder parameters​(Collection<WorkflowParameterDetail> parameters)

        An array of input parameters that that the image workflow uses to control actions or configure settings.

        Parameters:
        parameters - An array of input parameters that that the image workflow uses to control actions or configure settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parameters

        Workflow.Builder parameters​(WorkflowParameterDetail... parameters)

        An array of input parameters that that the image workflow uses to control actions or configure settings.

        Parameters:
        parameters - An array of input parameters that that the image workflow uses to control actions or configure settings.
        Returns:
        Returns a reference to this object so that method calls can be chained together.