@Generated(value="software.amazon.awssdk:codegen") public final class CreateCollectionDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateCollectionDetail.Builder,CreateCollectionDetail>
Details about the created OpenSearch Serverless collection.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateCollectionDetail.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the collection.
|
static CreateCollectionDetail.Builder |
builder() |
Long |
createdDate()
The Epoch time when the collection was created.
|
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()
The unique identifier of the collection.
|
String |
kmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key with which 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 CreateCollectionDetail.Builder> |
serializableBuilderClass() |
CollectionStatus |
status()
The current status of the collection.
|
String |
statusAsString()
The current status of the collection.
|
CreateCollectionDetail.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 Long createdDate()
The Epoch time when the collection was created.
public final String description()
A description of the collection.
public final String id()
The unique identifier of the collection.
public final String kmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key with which 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 CreateCollectionDetail.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateCollectionDetail.Builder,CreateCollectionDetail>public static CreateCollectionDetail.Builder builder()
public static Class<? extends CreateCollectionDetail.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.