Interface S3BucketRepository.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3BucketRepository.Builder,
,S3BucketRepository> SdkBuilder<S3BucketRepository.Builder,
,S3BucketRepository> SdkPojo
- Enclosing class:
S3BucketRepository
public static interface S3BucketRepository.Builder
extends SdkPojo, CopyableBuilder<S3BucketRepository.Builder,S3BucketRepository>
-
Method Summary
Modifier and TypeMethodDescriptiondefault S3BucketRepository.Builder
details
(Consumer<S3RepositoryDetails.Builder> details) AnS3RepositoryDetails
object that specifies the name of an S3 bucket and aCodeArtifacts
object.details
(S3RepositoryDetails details) AnS3RepositoryDetails
object that specifies the name of an S3 bucket and aCodeArtifacts
object.The name of the repository when theProviderType
isS3Bucket
.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
-
name
The name of the repository when the
ProviderType
isS3Bucket
.- Parameters:
name
- The name of the repository when theProviderType
isS3Bucket
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
An
S3RepositoryDetails
object that specifies the name of an S3 bucket and aCodeArtifacts
object. TheCodeArtifacts
object includes the S3 object keys for a source code .zip file and for a build artifacts .zip file.- Parameters:
details
- AnS3RepositoryDetails
object that specifies the name of an S3 bucket and aCodeArtifacts
object. TheCodeArtifacts
object includes the S3 object keys for a source code .zip file and for a build artifacts .zip file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
An
This is a convenience method that creates an instance of theS3RepositoryDetails
object that specifies the name of an S3 bucket and aCodeArtifacts
object. TheCodeArtifacts
object includes the S3 object keys for a source code .zip file and for a build artifacts .zip file.S3RepositoryDetails.Builder
avoiding the need to create one manually viaS3RepositoryDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todetails(S3RepositoryDetails)
.- Parameters:
details
- a consumer that will call methods onS3RepositoryDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-