Interface GitConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GitConfig.Builder,
,GitConfig> SdkBuilder<GitConfig.Builder,
,GitConfig> SdkPojo
- Enclosing class:
GitConfig
public static interface GitConfig.Builder
extends SdkPojo, CopyableBuilder<GitConfig.Builder,GitConfig>
-
Method Summary
Modifier and TypeMethodDescriptionThe default branch for the Git repository.repositoryUrl
(String repositoryUrl) The URL where the Git repository is located.The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
repositoryUrl
The URL where the Git repository is located.
- Parameters:
repositoryUrl
- The URL where the Git repository is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branch
The default branch for the Git repository.
- Parameters:
branch
- The default branch for the Git repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secretArn
The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label of
AWSCURRENT
and must be in the following format:{"username": UserName, "password": Password}
- Parameters:
secretArn
- The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the credentials used to access the git repository. The secret must have a staging label ofAWSCURRENT
and must be in the following format:{"username": UserName, "password": Password}
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-