Interface GetBucketMetadataConfigurationResult.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GetBucketMetadataConfigurationResult.Builder,,GetBucketMetadataConfigurationResult> SdkBuilder<GetBucketMetadataConfigurationResult.Builder,,GetBucketMetadataConfigurationResult> SdkPojo
- Enclosing class:
GetBucketMetadataConfigurationResult
@Mutable
@NotThreadSafe
public static interface GetBucketMetadataConfigurationResult.Builder
extends SdkPojo, CopyableBuilder<GetBucketMetadataConfigurationResult.Builder,GetBucketMetadataConfigurationResult>
-
Method Summary
Modifier and TypeMethodDescriptionmetadataConfigurationResult(Consumer<MetadataConfigurationResult.Builder> metadataConfigurationResult) The metadata configuration for a general purpose bucket.metadataConfigurationResult(MetadataConfigurationResult metadataConfigurationResult) The metadata configuration for a general purpose bucket.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
-
metadataConfigurationResult
GetBucketMetadataConfigurationResult.Builder metadataConfigurationResult(MetadataConfigurationResult metadataConfigurationResult) The metadata configuration for a general purpose bucket.
- Parameters:
metadataConfigurationResult- The metadata configuration for a general purpose bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataConfigurationResult
default GetBucketMetadataConfigurationResult.Builder metadataConfigurationResult(Consumer<MetadataConfigurationResult.Builder> metadataConfigurationResult) The metadata configuration for a general purpose bucket.
This is a convenience method that creates an instance of theMetadataConfigurationResult.Builderavoiding the need to create one manually viaMetadataConfigurationResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadataConfigurationResult(MetadataConfigurationResult).- Parameters:
metadataConfigurationResult- a consumer that will call methods onMetadataConfigurationResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-