Class CreateBucketMetadataConfigurationRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.s3.model.S3Request
-
- software.amazon.awssdk.services.s3.model.CreateBucketMetadataConfigurationRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<CreateBucketMetadataConfigurationRequest.Builder,CreateBucketMetadataConfigurationRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateBucketMetadataConfigurationRequest extends S3Request implements ToCopyableBuilder<CreateBucketMetadataConfigurationRequest.Builder,CreateBucketMetadataConfigurationRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
CreateBucketMetadataConfigurationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
bucket()
The general purpose bucket that you want to create the metadata configuration for.static CreateBucketMetadataConfigurationRequest.Builder
builder()
ChecksumAlgorithm
checksumAlgorithm()
The checksum algorithm to use with your metadata configuration.String
checksumAlgorithmAsString()
The checksum algorithm to use with your metadata configuration.String
contentMD5()
TheContent-MD5
header for the metadata configuration.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
String
expectedBucketOwner()
The expected owner of the general purpose bucket that corresponds to your metadata configuration.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
MetadataConfiguration
metadataConfiguration()
The contents of your metadata configuration.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends CreateBucketMetadataConfigurationRequest.Builder>
serializableBuilderClass()
CreateBucketMetadataConfigurationRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
bucket
public final String bucket()
The general purpose bucket that you want to create the metadata configuration for.
- Returns:
- The general purpose bucket that you want to create the metadata configuration for.
-
contentMD5
public final String contentMD5()
The
Content-MD5
header for the metadata configuration.- Returns:
- The
Content-MD5
header for the metadata configuration.
-
checksumAlgorithm
public final ChecksumAlgorithm checksumAlgorithm()
The checksum algorithm to use with your metadata configuration.
If the service returns an enum value that is not available in the current SDK version,
checksumAlgorithm
will returnChecksumAlgorithm.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromchecksumAlgorithmAsString()
.- Returns:
- The checksum algorithm to use with your metadata configuration.
- See Also:
ChecksumAlgorithm
-
checksumAlgorithmAsString
public final String checksumAlgorithmAsString()
The checksum algorithm to use with your metadata configuration.
If the service returns an enum value that is not available in the current SDK version,
checksumAlgorithm
will returnChecksumAlgorithm.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromchecksumAlgorithmAsString()
.- Returns:
- The checksum algorithm to use with your metadata configuration.
- See Also:
ChecksumAlgorithm
-
metadataConfiguration
public final MetadataConfiguration metadataConfiguration()
The contents of your metadata configuration.
- Returns:
- The contents of your metadata configuration.
-
expectedBucketOwner
public final String expectedBucketOwner()
The expected owner of the general purpose bucket that corresponds to your metadata configuration.
- Returns:
- The expected owner of the general purpose bucket that corresponds to your metadata configuration.
-
toBuilder
public CreateBucketMetadataConfigurationRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<CreateBucketMetadataConfigurationRequest.Builder,CreateBucketMetadataConfigurationRequest>
- Specified by:
toBuilder
in classS3Request
-
builder
public static CreateBucketMetadataConfigurationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateBucketMetadataConfigurationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-