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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GitConfig.Builder
branch(String branch)
The default branch for the Git repository.GitConfig.Builder
repositoryUrl(String repositoryUrl)
The URL where the Git repository is located.GitConfig.Builder
secretArn(String secretArn)
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
repositoryUrl
GitConfig.Builder repositoryUrl(String 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
GitConfig.Builder branch(String 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
GitConfig.Builder secretArn(String 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.
-
-