Interface PipelineDeclaration.Builder

    • Method Detail

      • name

        PipelineDeclaration.Builder name​(String name)

        The name of the pipeline.

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

        PipelineDeclaration.Builder roleArn​(String roleArn)

        The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with no actionRoleArn, or to use to assume roles for actions with an actionRoleArn.

        Parameters:
        roleArn - The Amazon Resource Name (ARN) for CodePipeline to use to either perform actions with no actionRoleArn, or to use to assume roles for actions with an actionRoleArn.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • artifactStore

        PipelineDeclaration.Builder artifactStore​(ArtifactStore artifactStore)

        Represents information about the S3 bucket where artifacts are stored for the pipeline.

        You must include either artifactStore or artifactStores in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores.

        Parameters:
        artifactStore - Represents information about the S3 bucket where artifacts are stored for the pipeline.

        You must include either artifactStore or artifactStores in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores.

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

        PipelineDeclaration.Builder artifactStores​(Map<String,​ArtifactStore> artifactStores)

        A mapping of artifactStore objects and their corresponding Amazon Web Services Regions. There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline.

        You must include either artifactStore or artifactStores in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores.

        Parameters:
        artifactStores - A mapping of artifactStore objects and their corresponding Amazon Web Services Regions. There must be an artifact store for the pipeline Region and for each cross-region action in the pipeline.

        You must include either artifactStore or artifactStores in your pipeline, but you cannot use both. If you create a cross-region action in your pipeline, you must use artifactStores.

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

        PipelineDeclaration.Builder stages​(Collection<StageDeclaration> stages)

        The stage in which to perform the action.

        Parameters:
        stages - The stage in which to perform the action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • stages

        PipelineDeclaration.Builder stages​(StageDeclaration... stages)

        The stage in which to perform the action.

        Parameters:
        stages - The stage in which to perform the action.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • version

        PipelineDeclaration.Builder version​(Integer version)

        The version number of the pipeline. A new pipeline always has a version number of 1. This number is incremented when a pipeline is updated.

        Parameters:
        version - The version number of the pipeline. A new pipeline always has a version number of 1. This number is incremented when a pipeline is updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • executionMode

        PipelineDeclaration.Builder executionMode​(String executionMode)

        The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.

        Parameters:
        executionMode - The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExecutionMode, ExecutionMode
      • executionMode

        PipelineDeclaration.Builder executionMode​(ExecutionMode executionMode)

        The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.

        Parameters:
        executionMode - The method that the pipeline will use to handle multiple executions. The default mode is SUPERSEDED.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ExecutionMode, ExecutionMode
      • pipelineType

        PipelineDeclaration.Builder pipelineType​(String pipelineType)

        CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.

        • V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters.

        • V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration.

        Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.

        For information about pricing for CodePipeline, see Pricing.

        For information about which type of pipeline to choose, see What type of pipeline is right for me?.

        Parameters:
        pipelineType - CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.

        • V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters.

        • V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration.

        Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.

        For information about pricing for CodePipeline, see Pricing.

        For information about which type of pipeline to choose, see What type of pipeline is right for me?.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PipelineType, PipelineType
      • pipelineType

        PipelineDeclaration.Builder pipelineType​(PipelineType pipelineType)

        CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.

        • V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters.

        • V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration.

        Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.

        For information about pricing for CodePipeline, see Pricing.

        For information about which type of pipeline to choose, see What type of pipeline is right for me?.

        Parameters:
        pipelineType - CodePipeline provides the following pipeline types, which differ in characteristics and price, so that you can tailor your pipeline features and cost to the needs of your applications.

        • V1 type pipelines have a JSON structure that contains standard pipeline, stage, and action-level parameters.

        • V2 type pipelines have the same structure as a V1 type, along with additional parameters for release safety and trigger configuration.

        Including V2 parameters, such as triggers on Git tags, in the pipeline JSON when creating or updating a pipeline will result in the pipeline having the V2 type of pipeline and the associated costs.

        For information about pricing for CodePipeline, see Pricing.

        For information about which type of pipeline to choose, see What type of pipeline is right for me?.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PipelineType, PipelineType
      • variables

        PipelineDeclaration.Builder variables​(Collection<PipelineVariableDeclaration> variables)

        A list that defines the pipeline variables for a pipeline resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9@\-_]+.

        Parameters:
        variables - A list that defines the pipeline variables for a pipeline resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9@\-_]+.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • variables

        PipelineDeclaration.Builder variables​(PipelineVariableDeclaration... variables)

        A list that defines the pipeline variables for a pipeline resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9@\-_]+.

        Parameters:
        variables - A list that defines the pipeline variables for a pipeline resource. Variable names can have alphanumeric and underscore characters, and the values must match [A-Za-z0-9@\-_]+.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • triggers

        PipelineDeclaration.Builder triggers​(Collection<PipelineTriggerDeclaration> triggers)

        The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline.

        When a trigger configuration is specified, default change detection for repository and branch commits is disabled.

        Parameters:
        triggers - The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline.

        When a trigger configuration is specified, default change detection for repository and branch commits is disabled.

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

        PipelineDeclaration.Builder triggers​(PipelineTriggerDeclaration... triggers)

        The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline.

        When a trigger configuration is specified, default change detection for repository and branch commits is disabled.

        Parameters:
        triggers - The trigger configuration specifying a type of event, such as Git tags, that starts the pipeline.

        When a trigger configuration is specified, default change detection for repository and branch commits is disabled.

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