Interface GetBucketMetadataConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetBucketMetadataConfigurationResponse.Builder,,GetBucketMetadataConfigurationResponse> S3Response.Builder,SdkBuilder<GetBucketMetadataConfigurationResponse.Builder,,GetBucketMetadataConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetBucketMetadataConfigurationResponse
@Mutable
@NotThreadSafe
public static interface GetBucketMetadataConfigurationResponse.Builder
extends S3Response.Builder, SdkPojo, CopyableBuilder<GetBucketMetadataConfigurationResponse.Builder,GetBucketMetadataConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptiongetBucketMetadataConfigurationResult(Consumer<GetBucketMetadataConfigurationResult.Builder> getBucketMetadataConfigurationResult) The metadata configuration for the general purpose bucket.getBucketMetadataConfigurationResult(GetBucketMetadataConfigurationResult getBucketMetadataConfigurationResult) The metadata configuration for the general purpose bucket.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
getBucketMetadataConfigurationResult
GetBucketMetadataConfigurationResponse.Builder getBucketMetadataConfigurationResult(GetBucketMetadataConfigurationResult getBucketMetadataConfigurationResult) The metadata configuration for the general purpose bucket.
- Parameters:
getBucketMetadataConfigurationResult- The metadata configuration for the general purpose bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getBucketMetadataConfigurationResult
default GetBucketMetadataConfigurationResponse.Builder getBucketMetadataConfigurationResult(Consumer<GetBucketMetadataConfigurationResult.Builder> getBucketMetadataConfigurationResult) The metadata configuration for the general purpose bucket.
This is a convenience method that creates an instance of theGetBucketMetadataConfigurationResult.Builderavoiding the need to create one manually viaGetBucketMetadataConfigurationResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togetBucketMetadataConfigurationResult(GetBucketMetadataConfigurationResult).- Parameters:
getBucketMetadataConfigurationResult- a consumer that will call methods onGetBucketMetadataConfigurationResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-