@Generated(value="software.amazon.awssdk:codegen") public final class CollectionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CollectionSummary.Builder,CollectionSummary>
Details about each OpenSearch Serverless collection.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CollectionSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the collection.
|
static CollectionSummary.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The unique identifier of the collection.
|
String |
name()
The name of the collection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CollectionSummary.Builder> |
serializableBuilderClass() |
CollectionStatus |
status()
The current status of the collection.
|
String |
statusAsString()
The current status of the collection.
|
CollectionSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the collection.
public final String id()
The unique identifier of the collection.
public final String name()
The name of the collection.
public final CollectionStatus status()
The current status of the collection.
If the service returns an enum value that is not available in the current SDK version, status will
return CollectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
CollectionStatuspublic final String statusAsString()
The current status of the collection.
If the service returns an enum value that is not available in the current SDK version, status will
return CollectionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
CollectionStatuspublic CollectionSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CollectionSummary.Builder,CollectionSummary>public static CollectionSummary.Builder builder()
public static Class<? extends CollectionSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.