Class MetadataEntry
java.lang.Object
software.amazon.awssdk.services.s3.model.MetadataEntry
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MetadataEntry.Builder,MetadataEntry>
@Generated("software.amazon.awssdk:codegen")
public final class MetadataEntry
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<MetadataEntry.Builder,MetadataEntry>
A metadata key-value pair to store with an object.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic MetadataEntry.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()Name of the object.static Class<? extends MetadataEntry.Builder>final StringtoString()Returns a string representation of this object.final Stringvalue()Value of the object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
Name of the object.
- Returns:
- Name of the object.
-
value
Value of the object.
- Returns:
- Value of the object.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<MetadataEntry.Builder,MetadataEntry>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-