Class BitBucketSourceCredentials.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.BitBucketSourceCredentials.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BitBucketSourceCredentials>
- Enclosing class:
BitBucketSourceCredentials
@Stability(Stable)
public static final class BitBucketSourceCredentials.Builder
extends Object
implements software.amazon.jsii.Builder<BitBucketSourceCredentials>
A fluent builder for
BitBucketSourceCredentials
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
password
(SecretValue password) Your BitBucket application password.username
(SecretValue username) Your BitBucket username.
-
Method Details
-
create
@Stability(Stable) public static BitBucketSourceCredentials.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- This parameter is required.id
- This parameter is required.- Returns:
- a new instance of
BitBucketSourceCredentials.Builder
.
-
password
Your BitBucket application password.- Parameters:
password
- Your BitBucket application password. This parameter is required.- Returns:
this
-
username
Your BitBucket username.- Parameters:
username
- Your BitBucket username. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BitBucketSourceCredentials>
- Returns:
- a newly built instance of
BitBucketSourceCredentials
.
-