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 interfaceCreateBucketMetadataConfigurationRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringbucket()The general purpose bucket that you want to create the metadata configuration for.static CreateBucketMetadataConfigurationRequest.Builderbuilder()ChecksumAlgorithmchecksumAlgorithm()The checksum algorithm to use with your metadata configuration.StringchecksumAlgorithmAsString()The checksum algorithm to use with your metadata configuration.StringcontentMD5()TheContent-MD5header for the metadata configuration.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringexpectedBucketOwner()The expected owner of the general purpose bucket that corresponds to your metadata configuration.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MetadataConfigurationmetadataConfiguration()The contents of your metadata configuration.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends CreateBucketMetadataConfigurationRequest.Builder>serializableBuilderClass()CreateBucketMetadataConfigurationRequest.BuildertoBuilder()StringtoString()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-MD5header for the metadata configuration.- Returns:
- The
Content-MD5header 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,
checksumAlgorithmwill 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,
checksumAlgorithmwill 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:
toBuilderin interfaceToCopyableBuilder<CreateBucketMetadataConfigurationRequest.Builder,CreateBucketMetadataConfigurationRequest>- Specified by:
toBuilderin classS3Request
-
builder
public static CreateBucketMetadataConfigurationRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateBucketMetadataConfigurationRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
getValueForFieldin classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-