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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default S3BucketRepository.Builderdetails(Consumer<S3RepositoryDetails.Builder> details)AnS3RepositoryDetailsobject that specifies the name of an S3 bucket and aCodeArtifactsobject.S3BucketRepository.Builderdetails(S3RepositoryDetails details)AnS3RepositoryDetailsobject that specifies the name of an S3 bucket and aCodeArtifactsobject.S3BucketRepository.Buildername(String name)The name of the repository when theProviderTypeisS3Bucket.-
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
-
name
S3BucketRepository.Builder name(String 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
S3BucketRepository.Builder details(S3RepositoryDetails 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
default S3BucketRepository.Builder details(Consumer<S3RepositoryDetails.Builder> 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:
details(S3RepositoryDetails)
-
-