@Generated(value="software.amazon.awssdk:codegen") public final class CollectionDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CollectionDetail.Builder,CollectionDetail>
Details about each OpenSearch Serverless collection, including the collection endpoint and the OpenSearch Dashboards endpoint.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CollectionDetail.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the collection.
|
static CollectionDetail.Builder |
builder() |
String |
collectionEndpoint()
Collection-specific endpoint used to submit index, search, and data upload requests to an OpenSearch Serverless
collection.
|
Long |
createdDate()
The Epoch time when the collection was created.
|
String |
dashboardEndpoint()
Collection-specific endpoint used to access OpenSearch Dashboards.
|
String |
description()
A description of the collection.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
A unique identifier for the collection.
|
String |
kmsKeyArn()
The ARN of the Amazon Web Services KMS key used to encrypt the collection.
|
Long |
lastModifiedDate()
The date and time when the collection was last modified.
|
String |
name()
The name of the collection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CollectionDetail.Builder> |
serializableBuilderClass() |
CollectionStatus |
status()
The current status of the collection.
|
String |
statusAsString()
The current status of the collection.
|
CollectionDetail.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
CollectionType |
type()
The type of collection.
|
String |
typeAsString()
The type of collection.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the collection.
public final String collectionEndpoint()
Collection-specific endpoint used to submit index, search, and data upload requests to an OpenSearch Serverless collection.
public final Long createdDate()
The Epoch time when the collection was created.
public final String dashboardEndpoint()
Collection-specific endpoint used to access OpenSearch Dashboards.
public final String description()
A description of the collection.
public final String id()
A unique identifier for the collection.
public final String kmsKeyArn()
The ARN of the Amazon Web Services KMS key used to encrypt the collection.
public final Long lastModifiedDate()
The date and time when the collection was last modified.
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 final CollectionType type()
The type of collection.
If the service returns an enum value that is not available in the current SDK version, type will return
CollectionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
CollectionTypepublic final String typeAsString()
The type of collection.
If the service returns an enum value that is not available in the current SDK version, type will return
CollectionType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
CollectionTypepublic CollectionDetail.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CollectionDetail.Builder,CollectionDetail>public static CollectionDetail.Builder builder()
public static Class<? extends CollectionDetail.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.