Class DocumentAttributeConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.qbusiness.model.DocumentAttributeConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DocumentAttributeConfiguration.Builder,DocumentAttributeConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class DocumentAttributeConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DocumentAttributeConfiguration.Builder,DocumentAttributeConfiguration>
Configuration information for document attributes. Document attributes are metadata or fields associated with your documents. For example, the company department name associated with each document.
For more information, see Understanding document attributes.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDocumentAttributeConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentAttributeConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the document attribute.List<SdkField<?>>sdkFields()Statussearch()Information about whether the document attribute can be used by an end user to search for information on their web experience.StringsearchAsString()Information about whether the document attribute can be used by an end user to search for information on their web experience.static Class<? extends DocumentAttributeConfiguration.Builder>serializableBuilderClass()DocumentAttributeConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.AttributeTypetype()The type of document attribute.StringtypeAsString()The type of document attribute.-
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
-
name
public final String name()
The name of the document attribute.
- Returns:
- The name of the document attribute.
-
search
public final Status search()
Information about whether the document attribute can be used by an end user to search for information on their web experience.
If the service returns an enum value that is not available in the current SDK version,
searchwill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsearchAsString().- Returns:
- Information about whether the document attribute can be used by an end user to search for information on their web experience.
- See Also:
Status
-
searchAsString
public final String searchAsString()
Information about whether the document attribute can be used by an end user to search for information on their web experience.
If the service returns an enum value that is not available in the current SDK version,
searchwill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsearchAsString().- Returns:
- Information about whether the document attribute can be used by an end user to search for information on their web experience.
- See Also:
Status
-
type
public final AttributeType type()
The type of document attribute.
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 type of document attribute.
- See Also:
AttributeType
-
typeAsString
public final String typeAsString()
The type of document attribute.
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 type of document attribute.
- See Also:
AttributeType
-
toBuilder
public DocumentAttributeConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DocumentAttributeConfiguration.Builder,DocumentAttributeConfiguration>
-
builder
public static DocumentAttributeConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends DocumentAttributeConfiguration.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.
-
-