Interface GetBucketMetadataTableConfigurationResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GetBucketMetadataTableConfigurationResult.Builder,GetBucketMetadataTableConfigurationResult>,SdkBuilder<GetBucketMetadataTableConfigurationResult.Builder,GetBucketMetadataTableConfigurationResult>,SdkPojo
- Enclosing class:
- GetBucketMetadataTableConfigurationResult
@Mutable @NotThreadSafe public static interface GetBucketMetadataTableConfigurationResult.Builder extends SdkPojo, CopyableBuilder<GetBucketMetadataTableConfigurationResult.Builder,GetBucketMetadataTableConfigurationResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetBucketMetadataTableConfigurationResult.Buildererror(Consumer<ErrorDetails.Builder> error)If theCreateBucketMetadataTableConfigurationrequest succeeds, but S3 Metadata was unable to create the table, this structure contains the error code and error message.GetBucketMetadataTableConfigurationResult.Buildererror(ErrorDetails error)If theCreateBucketMetadataTableConfigurationrequest succeeds, but S3 Metadata was unable to create the table, this structure contains the error code and error message.default GetBucketMetadataTableConfigurationResult.BuildermetadataTableConfigurationResult(Consumer<MetadataTableConfigurationResult.Builder> metadataTableConfigurationResult)The V1 S3 Metadata configuration for a general purpose bucket.GetBucketMetadataTableConfigurationResult.BuildermetadataTableConfigurationResult(MetadataTableConfigurationResult metadataTableConfigurationResult)The V1 S3 Metadata configuration for a general purpose bucket.GetBucketMetadataTableConfigurationResult.Builderstatus(String status)The status of the metadata table.-
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 Detail
-
metadataTableConfigurationResult
GetBucketMetadataTableConfigurationResult.Builder metadataTableConfigurationResult(MetadataTableConfigurationResult metadataTableConfigurationResult)
The V1 S3 Metadata configuration for a general purpose bucket.
- Parameters:
metadataTableConfigurationResult- The V1 S3 Metadata configuration for a general purpose bucket.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadataTableConfigurationResult
default GetBucketMetadataTableConfigurationResult.Builder metadataTableConfigurationResult(Consumer<MetadataTableConfigurationResult.Builder> metadataTableConfigurationResult)
The V1 S3 Metadata configuration for a general purpose bucket.
This is a convenience method that creates an instance of theMetadataTableConfigurationResult.Builderavoiding the need to create one manually viaMetadataTableConfigurationResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometadataTableConfigurationResult(MetadataTableConfigurationResult).- Parameters:
metadataTableConfigurationResult- a consumer that will call methods onMetadataTableConfigurationResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metadataTableConfigurationResult(MetadataTableConfigurationResult)
-
status
GetBucketMetadataTableConfigurationResult.Builder status(String status)
The status of the metadata table. The status values are:
-
CREATING- The metadata table is in the process of being created in the specified table bucket. -
ACTIVE- The metadata table has been created successfully, and records are being delivered to the table. -
FAILED- Amazon S3 is unable to create the metadata table, or Amazon S3 is unable to deliver records. SeeErrorDetailsfor details.
- Parameters:
status- The status of the metadata table. The status values are:-
CREATING- The metadata table is in the process of being created in the specified table bucket. -
ACTIVE- The metadata table has been created successfully, and records are being delivered to the table. -
FAILED- Amazon S3 is unable to create the metadata table, or Amazon S3 is unable to deliver records. SeeErrorDetailsfor details.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
error
GetBucketMetadataTableConfigurationResult.Builder error(ErrorDetails error)
If the
CreateBucketMetadataTableConfigurationrequest succeeds, but S3 Metadata was unable to create the table, this structure contains the error code and error message.- Parameters:
error- If theCreateBucketMetadataTableConfigurationrequest succeeds, but S3 Metadata was unable to create the table, this structure contains the error code and error message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
error
default GetBucketMetadataTableConfigurationResult.Builder error(Consumer<ErrorDetails.Builder> error)
If the
This is a convenience method that creates an instance of theCreateBucketMetadataTableConfigurationrequest succeeds, but S3 Metadata was unable to create the table, this structure contains the error code and error message.ErrorDetails.Builderavoiding the need to create one manually viaErrorDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toerror(ErrorDetails).- Parameters:
error- a consumer that will call methods onErrorDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
error(ErrorDetails)
-
-