Interface Repository.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Repository.Builder,,Repository> SdkBuilder<Repository.Builder,,Repository> SdkPojo
- Enclosing class:
Repository
-
Method Summary
Modifier and TypeMethodDescriptiondefault Repository.Builderbitbucket(Consumer<ThirdPartySourceRepository.Builder> bitbucket) Information about a Bitbucket repository.bitbucket(ThirdPartySourceRepository bitbucket) Information about a Bitbucket repository.default Repository.BuildercodeCommit(Consumer<CodeCommitRepository.Builder> codeCommit) Information about an Amazon Web Services CodeCommit repository.codeCommit(CodeCommitRepository codeCommit) Information about an Amazon Web Services CodeCommit repository.default Repository.BuildergitHubEnterpriseServer(Consumer<ThirdPartySourceRepository.Builder> gitHubEnterpriseServer) Information about a GitHub Enterprise Server repository.gitHubEnterpriseServer(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.s3Bucket(S3Repository s3Bucket) Sets the value of the S3Bucket property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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:
-
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
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:
-
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:
-
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
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:
-