Class Index
- java.lang.Object
-
- software.amazon.awssdk.services.qbusiness.model.Index
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Index.Builder,Index>
@Generated("software.amazon.awssdk:codegen") public final class Index extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Index.Builder,Index>
Summary information for your Amazon Q Business index.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceIndex.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Index.Builderbuilder()InstantcreatedAt()The Unix timestamp when the index was created.StringdisplayName()The name of the index.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringindexId()The identifier for the index.List<SdkField<?>>sdkFields()static Class<? extends Index.Builder>serializableBuilderClass()IndexStatusstatus()The current status of the index.StringstatusAsString()The current status of the index.Index.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The Unix timestamp when the index was last updated.-
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
-
displayName
public final String displayName()
The name of the index.
- Returns:
- The name of the index.
-
indexId
public final String indexId()
The identifier for the index.
- Returns:
- The identifier for the index.
-
createdAt
public final Instant createdAt()
The Unix timestamp when the index was created.
- Returns:
- The Unix timestamp when the index was created.
-
updatedAt
public final Instant updatedAt()
The Unix timestamp when the index was last updated.
- Returns:
- The Unix timestamp when the index was last updated.
-
status
public final IndexStatus status()
The current status of the index. When the status is
ACTIVE, the index is ready.If the service returns an enum value that is not available in the current SDK version,
statuswill returnIndexStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the index. When the status is
ACTIVE, the index is ready. - See Also:
IndexStatus
-
statusAsString
public final String statusAsString()
The current status of the index. When the status is
ACTIVE, the index is ready.If the service returns an enum value that is not available in the current SDK version,
statuswill returnIndexStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the index. When the status is
ACTIVE, the index is ready. - See Also:
IndexStatus
-
toBuilder
public Index.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Index.Builder,Index>
-
builder
public static Index.Builder builder()
-
serializableBuilderClass
public static Class<? extends Index.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.
-
-