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.
      • commands

        ActionDeclaration.Builder commands​(Collection<String> commands)

        The shell commands to run with your compute action in CodePipeline. All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild.

        Using compute time for this action will incur separate charges in CodeBuild.

        Parameters:
        commands - The shell commands to run with your compute action in CodePipeline. All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild.

        Using compute time for this action will incur separate charges in CodeBuild.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • commands

        ActionDeclaration.Builder commands​(String... commands)

        The shell commands to run with your compute action in CodePipeline. All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild.

        Using compute time for this action will incur separate charges in CodeBuild.

        Parameters:
        commands - The shell commands to run with your compute action in CodePipeline. All commands are supported except multi-line formats. While CodeBuild logs and permissions are used, you do not need to create any resources in CodeBuild.

        Using compute time for this action will incur separate charges in CodeBuild.

        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.
      • outputVariables

        ActionDeclaration.Builder outputVariables​(Collection<String> outputVariables)

        The list of variables that are to be exported from the compute action. This is specifically CodeBuild environment variables as used for that action.

        Parameters:
        outputVariables - The list of variables that are to be exported from the compute action. This is specifically CodeBuild environment variables as used for that action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • outputVariables

        ActionDeclaration.Builder outputVariables​(String... outputVariables)

        The list of variables that are to be exported from the compute action. This is specifically CodeBuild environment variables as used for that action.

        Parameters:
        outputVariables - The list of variables that are to be exported from the compute action. This is specifically CodeBuild environment variables as used for that action.
        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.
      • timeoutInMinutes

        ActionDeclaration.Builder timeoutInMinutes​(Integer timeoutInMinutes)

        A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in Quotas for CodePipeline . This attribute is available only to the manual approval ActionType.

        Parameters:
        timeoutInMinutes - A timeout duration in minutes that can be applied against the ActionType’s default timeout value specified in Quotas for CodePipeline . This attribute is available only to the manual approval ActionType.
        Returns:
        Returns a reference to this object so that method calls can be chained together.