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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.Builder
avoiding the need to create one manually viaMetadataConfigurationResult.builder()
.When the
Consumer
completes,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:
-