Class PutObjectResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.mediastoredata.model.MediaStoreDataResponse
-
- software.amazon.awssdk.services.mediastoredata.model.PutObjectResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PutObjectResponse.Builder,PutObjectResponse>
@Generated("software.amazon.awssdk:codegen") public final class PutObjectResponse extends MediaStoreDataResponse implements ToCopyableBuilder<PutObjectResponse.Builder,PutObjectResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePutObjectResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PutObjectResponse.Builderbuilder()StringcontentSHA256()The SHA256 digest of the object that is persisted.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringeTag()Unique identifier of the object in the container.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PutObjectResponse.Builder>serializableBuilderClass()StorageClassstorageClass()The storage class where the object was persisted.StringstorageClassAsString()The storage class where the object was persisted.PutObjectResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.mediastoredata.model.MediaStoreDataResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
contentSHA256
public final String contentSHA256()
The SHA256 digest of the object that is persisted.
- Returns:
- The SHA256 digest of the object that is persisted.
-
eTag
public final String eTag()
Unique identifier of the object in the container.
- Returns:
- Unique identifier of the object in the container.
-
storageClass
public final StorageClass storageClass()
The storage class where the object was persisted. The class should be “Temporal”.
If the service returns an enum value that is not available in the current SDK version,
storageClasswill returnStorageClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageClassAsString().- Returns:
- The storage class where the object was persisted. The class should be “Temporal”.
- See Also:
StorageClass
-
storageClassAsString
public final String storageClassAsString()
The storage class where the object was persisted. The class should be “Temporal”.
If the service returns an enum value that is not available in the current SDK version,
storageClasswill returnStorageClass.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstorageClassAsString().- Returns:
- The storage class where the object was persisted. The class should be “Temporal”.
- See Also:
StorageClass
-
toBuilder
public PutObjectResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PutObjectResponse.Builder,PutObjectResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static PutObjectResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends PutObjectResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-