Interface Repository.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Repository.Builder,Repository>,SdkBuilder<Repository.Builder,Repository>,SdkPojo
- Enclosing class:
- Repository
public static interface Repository.Builder extends SdkPojo, CopyableBuilder<Repository.Builder,Repository>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Repository.Builderbitbucket(Consumer<ThirdPartySourceRepository.Builder> bitbucket)Information about a Bitbucket repository.Repository.Builderbitbucket(ThirdPartySourceRepository bitbucket)Information about a Bitbucket repository.default Repository.BuildercodeCommit(Consumer<CodeCommitRepository.Builder> codeCommit)Information about an Amazon Web Services CodeCommit repository.Repository.BuildercodeCommit(CodeCommitRepository codeCommit)Information about an Amazon Web Services CodeCommit repository.default Repository.BuildergitHubEnterpriseServer(Consumer<ThirdPartySourceRepository.Builder> gitHubEnterpriseServer)Information about a GitHub Enterprise Server repository.Repository.BuildergitHubEnterpriseServer(ThirdPartySourceRepository gitHubEnterpriseServer)Information about a GitHub Enterprise Server repository.default Repository.Builders3Bucket(Consumer<S3Repository.Builder> s3Bucket)Sets the value of the S3Bucket property for this object.Repository.Builders3Bucket(S3Repository s3Bucket)Sets the value of the S3Bucket property for this object.-
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 Detail
-
codeCommit
Repository.Builder codeCommit(CodeCommitRepository codeCommit)
Information about an Amazon Web Services CodeCommit repository.
- Parameters:
codeCommit- Information about an Amazon Web Services CodeCommit repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
codeCommit
default Repository.Builder codeCommit(Consumer<CodeCommitRepository.Builder> codeCommit)
Information about an Amazon Web Services CodeCommit repository.
This is a convenience method that creates an instance of theCodeCommitRepository.Builderavoiding the need to create one manually viaCodeCommitRepository.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocodeCommit(CodeCommitRepository).- Parameters:
codeCommit- a consumer that will call methods onCodeCommitRepository.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
codeCommit(CodeCommitRepository)
-
bitbucket
Repository.Builder bitbucket(ThirdPartySourceRepository bitbucket)
Information about a Bitbucket repository.
- Parameters:
bitbucket- Information about a Bitbucket repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bitbucket
default Repository.Builder bitbucket(Consumer<ThirdPartySourceRepository.Builder> bitbucket)
Information about a Bitbucket repository.
This is a convenience method that creates an instance of theThirdPartySourceRepository.Builderavoiding the need to create one manually viaThirdPartySourceRepository.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobitbucket(ThirdPartySourceRepository).- Parameters:
bitbucket- a consumer that will call methods onThirdPartySourceRepository.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
bitbucket(ThirdPartySourceRepository)
-
gitHubEnterpriseServer
Repository.Builder gitHubEnterpriseServer(ThirdPartySourceRepository gitHubEnterpriseServer)
Information about a GitHub Enterprise Server repository.
- Parameters:
gitHubEnterpriseServer- Information about a GitHub Enterprise Server repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gitHubEnterpriseServer
default Repository.Builder gitHubEnterpriseServer(Consumer<ThirdPartySourceRepository.Builder> gitHubEnterpriseServer)
Information about a GitHub Enterprise Server repository.
This is a convenience method that creates an instance of theThirdPartySourceRepository.Builderavoiding the need to create one manually viaThirdPartySourceRepository.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togitHubEnterpriseServer(ThirdPartySourceRepository).- Parameters:
gitHubEnterpriseServer- a consumer that will call methods onThirdPartySourceRepository.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
gitHubEnterpriseServer(ThirdPartySourceRepository)
-
s3Bucket
Repository.Builder s3Bucket(S3Repository s3Bucket)
Sets the value of the S3Bucket property for this object.- Parameters:
s3Bucket- The new value for the S3Bucket property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Bucket
default Repository.Builder s3Bucket(Consumer<S3Repository.Builder> s3Bucket)
Sets the value of the S3Bucket property for this object. This is a convenience method that creates an instance of theS3Repository.Builderavoiding the need to create one manually viaS3Repository.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Bucket(S3Repository).- Parameters:
s3Bucket- a consumer that will call methods onS3Repository.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
s3Bucket(S3Repository)
-
-