Class BitBucketSourceCredentialsProps.Builder
java.lang.Object
software.amazon.awscdk.services.codebuild.BitBucketSourceCredentialsProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BitBucketSourceCredentialsProps>
- Enclosing interface:
BitBucketSourceCredentialsProps
@Stability(Stable)
public static final class BitBucketSourceCredentialsProps.Builder
extends Object
implements software.amazon.jsii.Builder<BitBucketSourceCredentialsProps>
A builder for
BitBucketSourceCredentialsProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.password
(SecretValue password) Sets the value ofBitBucketSourceCredentialsProps.getPassword()
username
(SecretValue username) Sets the value ofBitBucketSourceCredentialsProps.getUsername()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
password
Sets the value ofBitBucketSourceCredentialsProps.getPassword()
- Parameters:
password
- Your BitBucket application password. This parameter is required.- Returns:
this
-
username
Sets the value ofBitBucketSourceCredentialsProps.getUsername()
- Parameters:
username
- Your BitBucket username. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BitBucketSourceCredentialsProps>
- Returns:
- a new instance of
BitBucketSourceCredentialsProps
- Throws:
NullPointerException
- if any required attribute was not provided
-