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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SourceControlDetails.BuilderauthStrategy(String authStrategy)The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.SourceControlDetails.BuilderauthStrategy(SourceControlAuthStrategy authStrategy)The type of authentication, which can be an authentication token stored in Amazon Web Services Secrets Manager, or a personal access token.SourceControlDetails.BuilderauthToken(String authToken)The value of an authorization token.SourceControlDetails.Builderbranch(String branch)An optional branch in the remote repository.SourceControlDetails.Builderfolder(String folder)An optional folder in the remote repository.SourceControlDetails.BuilderlastCommitId(String lastCommitId)The last commit ID for a commit in the remote repository.SourceControlDetails.Builderowner(String owner)The owner of the remote repository that contains the job artifacts.SourceControlDetails.Builderprovider(String provider)The provider for the remote repository.SourceControlDetails.Builderprovider(SourceControlProvider provider)The provider for the remote repository.SourceControlDetails.Builderrepository(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
provider
SourceControlDetails.Builder provider(String 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:
SourceControlProvider,SourceControlProvider
-
provider
SourceControlDetails.Builder provider(SourceControlProvider 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:
SourceControlProvider,SourceControlProvider
-
repository
SourceControlDetails.Builder repository(String 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
SourceControlDetails.Builder owner(String 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
SourceControlDetails.Builder branch(String 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
SourceControlDetails.Builder folder(String 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
SourceControlDetails.Builder lastCommitId(String 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
SourceControlDetails.Builder authStrategy(String 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:
SourceControlAuthStrategy,SourceControlAuthStrategy
-
authStrategy
SourceControlDetails.Builder 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.
- 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:
SourceControlAuthStrategy,SourceControlAuthStrategy
-
authToken
SourceControlDetails.Builder authToken(String 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.
-
-