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.Builderdetails(Consumer<S3RepositoryDetails.Builder> details) AnS3RepositoryDetailsobject that specifies the name of an S3 bucket and aCodeArtifactsobject.details(S3RepositoryDetails details) AnS3RepositoryDetailsobject that specifies the name of an S3 bucket and aCodeArtifactsobject.The name of the repository when theProviderTypeisS3Bucket.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, sdkFields
-
Method Details
-
name
The name of the repository when the
ProviderTypeisS3Bucket.- Parameters:
name- The name of the repository when theProviderTypeisS3Bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
details
An
S3RepositoryDetailsobject that specifies the name of an S3 bucket and aCodeArtifactsobject. TheCodeArtifactsobject includes the S3 object keys for a source code .zip file and for a build artifacts .zip file.- Parameters:
details- AnS3RepositoryDetailsobject that specifies the name of an S3 bucket and aCodeArtifactsobject. TheCodeArtifactsobject 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 theS3RepositoryDetailsobject that specifies the name of an S3 bucket and aCodeArtifactsobject. TheCodeArtifactsobject includes the S3 object keys for a source code .zip file and for a build artifacts .zip file.S3RepositoryDetails.Builderavoiding the need to create one manually viaS3RepositoryDetails.builder().When the
Consumercompletes,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:
-