Interface ActionDeclaration.Builder

    • Method Detail

      • name

        ActionDeclaration.Builder name​(String name)

        The action declaration's name.

        Parameters:
        name - The action declaration's name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • actionTypeId

        ActionDeclaration.Builder actionTypeId​(ActionTypeId actionTypeId)

        Specifies the action type and the provider of the action.

        Parameters:
        actionTypeId - Specifies the action type and the provider of the action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • runOrder

        ActionDeclaration.Builder runOrder​(Integer runOrder)

        The order in which actions are run.

        Parameters:
        runOrder - The order in which actions are run.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • outputArtifacts

        ActionDeclaration.Builder outputArtifacts​(Collection<OutputArtifact> outputArtifacts)

        The name or ID of the result of the action declaration, such as a test or build artifact.

        Parameters:
        outputArtifacts - The name or ID of the result of the action declaration, such as a test or build artifact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • outputArtifacts

        ActionDeclaration.Builder outputArtifacts​(OutputArtifact... outputArtifacts)

        The name or ID of the result of the action declaration, such as a test or build artifact.

        Parameters:
        outputArtifacts - The name or ID of the result of the action declaration, such as a test or build artifact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputArtifacts

        ActionDeclaration.Builder inputArtifacts​(Collection<InputArtifact> inputArtifacts)

        The name or ID of the artifact consumed by the action, such as a test or build artifact.

        Parameters:
        inputArtifacts - The name or ID of the artifact consumed by the action, such as a test or build artifact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • inputArtifacts

        ActionDeclaration.Builder inputArtifacts​(InputArtifact... inputArtifacts)

        The name or ID of the artifact consumed by the action, such as a test or build artifact.

        Parameters:
        inputArtifacts - The name or ID of the artifact consumed by the action, such as a test or build artifact.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • roleArn

        ActionDeclaration.Builder roleArn​(String roleArn)

        The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline.

        Parameters:
        roleArn - The ARN of the IAM service role that performs the declared action. This is assumed through the roleArn for the pipeline.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • region

        ActionDeclaration.Builder region​(String region)

        The action declaration's Amazon Web Services Region, such as us-east-1.

        Parameters:
        region - The action declaration's Amazon Web Services Region, such as us-east-1.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • namespace

        ActionDeclaration.Builder namespace​(String namespace)

        The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.

        Parameters:
        namespace - The variable namespace associated with the action. All variables produced as output by this action fall under this namespace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.