@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CollectionSummary extends Object implements Serializable, Cloneable, StructuredPojo
Details about each OpenSearch Serverless collection.
| Constructor and Description |
|---|
CollectionSummary() |
| Modifier and Type | Method and Description |
|---|---|
CollectionSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the collection.
|
String |
getId()
The unique identifier of the collection.
|
String |
getName()
The name of the collection.
|
String |
getStatus()
The current status of the collection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the collection.
|
void |
setId(String id)
The unique identifier of the collection.
|
void |
setName(String name)
The name of the collection.
|
void |
setStatus(String status)
The current status of the collection.
|
String |
toString()
Returns a string representation of this object.
|
CollectionSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the collection.
|
CollectionSummary |
withId(String id)
The unique identifier of the collection.
|
CollectionSummary |
withName(String name)
The name of the collection.
|
CollectionSummary |
withStatus(CollectionStatus status)
The current status of the collection.
|
CollectionSummary |
withStatus(String status)
The current status of the collection.
|
public void setArn(String arn)
The Amazon Resource Name (ARN) of the collection.
arn - The Amazon Resource Name (ARN) of the collection.public String getArn()
The Amazon Resource Name (ARN) of the collection.
public CollectionSummary withArn(String arn)
The Amazon Resource Name (ARN) of the collection.
arn - The Amazon Resource Name (ARN) of the collection.public void setId(String id)
The unique identifier of the collection.
id - The unique identifier of the collection.public String getId()
The unique identifier of the collection.
public CollectionSummary withId(String id)
The unique identifier of the collection.
id - The unique identifier of the collection.public void setName(String name)
The name of the collection.
name - The name of the collection.public String getName()
The name of the collection.
public CollectionSummary withName(String name)
The name of the collection.
name - The name of the collection.public void setStatus(String status)
The current status of the collection.
status - The current status of the collection.CollectionStatuspublic String getStatus()
The current status of the collection.
CollectionStatuspublic CollectionSummary withStatus(String status)
The current status of the collection.
status - The current status of the collection.CollectionStatuspublic CollectionSummary withStatus(CollectionStatus status)
The current status of the collection.
status - The current status of the collection.CollectionStatuspublic String toString()
toString in class ObjectObject.toString()public CollectionSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.