Interface SourceControlDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SourceControlDetails.Builder,
,SourceControlDetails> SdkBuilder<SourceControlDetails.Builder,
,SourceControlDetails> SdkPojo
- Enclosing class:
SourceControlDetails
public static interface SourceControlDetails.Builder
extends SdkPojo, CopyableBuilder<SourceControlDetails.Builder,SourceControlDetails>
-
Method Summary
Modifier and TypeMethodDescriptionauthStrategy
(String authStrategy) The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.authStrategy
(SourceControlAuthStrategy authStrategy) The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.The value of an authorization token.An optional branch in the remote repository.An optional folder in the remote repository.lastCommitId
(String lastCommitId) The last commit ID for a commit in the remote repository.The owner of the remote repository that contains the job artifacts.The provider for the remote repository.provider
(SourceControlProvider provider) The provider for the remote repository.repository
(String repository) The name of the remote repository that contains the job artifacts.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
-
provider
The provider for the remote repository.
- Parameters:
provider
- The provider for the remote repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provider
The provider for the remote repository.
- Parameters:
provider
- The provider for the remote repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
repository
The name of the remote repository that contains the job artifacts.
- Parameters:
repository
- The name of the remote repository that contains the job artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
owner
The owner of the remote repository that contains the job artifacts.
- Parameters:
owner
- The owner of the remote repository that contains the job artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
branch
An optional branch in the remote repository.
- Parameters:
branch
- An optional branch in the remote repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
folder
An optional folder in the remote repository.
- Parameters:
folder
- An optional folder in the remote repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastCommitId
The last commit ID for a commit in the remote repository.
- Parameters:
lastCommitId
- The last commit ID for a commit in the remote repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
authStrategy
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
- Parameters:
authStrategy
- The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authStrategy
The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.
- Parameters:
authStrategy
- The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
authToken
The value of an authorization token.
- Parameters:
authToken
- The value of an authorization token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-