Class MetadataAttributeSchema
- java.lang.Object
-
- software.amazon.awssdk.services.bedrockagentruntime.model.MetadataAttributeSchema
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MetadataAttributeSchema.Builder,MetadataAttributeSchema>
@Generated("software.amazon.awssdk:codegen") public final class MetadataAttributeSchema extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetadataAttributeSchema.Builder,MetadataAttributeSchema>
Details about a metadata attribute.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMetadataAttributeSchema.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetadataAttributeSchema.Builderbuilder()Stringdescription()The attribute's description.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringkey()The attribute's key.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MetadataAttributeSchema.Builder>serializableBuilderClass()MetadataAttributeSchema.BuildertoBuilder()StringtoString()Returns a string representation of this object.AttributeTypetype()The attribute's type.StringtypeAsString()The attribute's type.-
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
-
description
public final String description()
The attribute's description.
- Returns:
- The attribute's description.
-
key
public final String key()
The attribute's key.
- Returns:
- The attribute's key.
-
type
public final AttributeType type()
The attribute's type.
If the service returns an enum value that is not available in the current SDK version,
typewill returnAttributeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The attribute's type.
- See Also:
AttributeType
-
typeAsString
public final String typeAsString()
The attribute's type.
If the service returns an enum value that is not available in the current SDK version,
typewill returnAttributeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The attribute's type.
- See Also:
AttributeType
-
toBuilder
public MetadataAttributeSchema.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MetadataAttributeSchema.Builder,MetadataAttributeSchema>
-
builder
public static MetadataAttributeSchema.Builder builder()
-
serializableBuilderClass
public static Class<? extends MetadataAttributeSchema.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-