Class BitBucketSourceAction.Builder

java.lang.Object
software.amazon.awscdk.services.codepipeline.actions.BitBucketSourceAction.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<BitBucketSourceAction>
Enclosing class:
BitBucketSourceAction

@Stability(Deprecated) @Deprecated public static final class BitBucketSourceAction.Builder extends Object implements software.amazon.jsii.Builder<BitBucketSourceAction>
Deprecated.
(deprecated) A fluent builder for BitBucketSourceAction.
  • Method Details

    • create

      @Stability(Deprecated) @Deprecated public static BitBucketSourceAction.Builder create()
      Deprecated.
      Returns:
      a new instance of BitBucketSourceAction.Builder.
    • actionName

      @Stability(Stable) public BitBucketSourceAction.Builder actionName(String actionName)
      Deprecated.
      The physical, human-readable name of the Action.

      Note that Action names must be unique within a single Stage.

      Parameters:
      actionName - The physical, human-readable name of the Action. This parameter is required.
      Returns:
      this
    • runOrder

      @Stability(Stable) public BitBucketSourceAction.Builder runOrder(Number runOrder)
      Deprecated.
      The runOrder property for this Action.

      RunOrder determines the relative order in which multiple Actions in the same Stage execute.

      Default: 1

      Parameters:
      runOrder - The runOrder property for this Action. This parameter is required.
      Returns:
      this
      See Also:
    • variablesNamespace

      @Stability(Stable) public BitBucketSourceAction.Builder variablesNamespace(String variablesNamespace)
      Deprecated.
      The name of the namespace to use for variables emitted by this action.

      Default: - a name will be generated, based on the stage and action names, if any of the action's variables were referenced - otherwise, no namespace will be set

      Parameters:
      variablesNamespace - The name of the namespace to use for variables emitted by this action. This parameter is required.
      Returns:
      this
    • role

      @Stability(Stable) public BitBucketSourceAction.Builder role(IRole role)
      Deprecated.
      The Role in which context's this Action will be executing in.

      The Pipeline's Role will assume this Role (the required permissions for that will be granted automatically) right before executing this Action. This Action will be passed into your

      invalid @link
      IAction.bind
      method in the
      invalid @link
      ActionBindOptions.role
      property.

      Default: a new Role will be generated

      Parameters:
      role - The Role in which context's this Action will be executing in. This parameter is required.
      Returns:
      this
    • connectionArn

      @Stability(Stable) public BitBucketSourceAction.Builder connectionArn(String connectionArn)
      Deprecated.
      The ARN of the CodeStar Connection created in the AWS console that has permissions to access this GitHub or BitBucket repository.

      Example:

       "arn:aws:codestar-connections:us-east-1:123456789012:connection/12345678-abcd-12ab-34cdef5678gh";
       

      Parameters:
      connectionArn - The ARN of the CodeStar Connection created in the AWS console that has permissions to access this GitHub or BitBucket repository. This parameter is required.
      Returns:
      this
      See Also:
    • output

      @Stability(Stable) public BitBucketSourceAction.Builder output(Artifact output)
      Deprecated.
      The output artifact that this action produces.

      Can be used as input for further pipeline actions.

      Parameters:
      output - The output artifact that this action produces. This parameter is required.
      Returns:
      this
    • owner

      @Stability(Stable) public BitBucketSourceAction.Builder owner(String owner)
      Deprecated.
      The owning user or organization of the repository.

      Example:

       "aws";
       

      Parameters:
      owner - The owning user or organization of the repository. This parameter is required.
      Returns:
      this
    • repo

      @Stability(Stable) public BitBucketSourceAction.Builder repo(String repo)
      Deprecated.
      The name of the repository.

      Example:

       "aws-cdk";
       

      Parameters:
      repo - The name of the repository. This parameter is required.
      Returns:
      this
    • branch

      @Stability(Stable) public BitBucketSourceAction.Builder branch(String branch)
      Deprecated.
      The branch to build.

      Default: 'master'

      Parameters:
      branch - The branch to build. This parameter is required.
      Returns:
      this
    • codeBuildCloneOutput

      @Stability(Stable) public BitBucketSourceAction.Builder codeBuildCloneOutput(Boolean codeBuildCloneOutput)
      Deprecated.
      Whether the output should be the contents of the repository (which is the default), or a link that allows CodeBuild to clone the repository before building.

      **Note**: if this option is true, then only CodeBuild actions can use the resulting output(software.amazon.awscdk.services.codepipeline.Artifact).

      Default: false

      Parameters:
      codeBuildCloneOutput - Whether the output should be the contents of the repository (which is the default), or a link that allows CodeBuild to clone the repository before building. This parameter is required.
      Returns:
      this
      See Also:
    • triggerOnPush

      @Stability(Stable) public BitBucketSourceAction.Builder triggerOnPush(Boolean triggerOnPush)
      Deprecated.
      Controls automatically starting your pipeline when a new commit is made on the configured repository and branch.

      If unspecified, the default value is true, and the field does not display by default.

      Default: true

      Parameters:
      triggerOnPush - Controls automatically starting your pipeline when a new commit is made on the configured repository and branch. This parameter is required.
      Returns:
      this
      See Also:
    • build

      @Stability(Deprecated) @Deprecated public BitBucketSourceAction build()
      Deprecated.
      Specified by:
      build in interface software.amazon.jsii.Builder<BitBucketSourceAction>
      Returns:
      a newly built instance of BitBucketSourceAction.