@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteCollectionDetail extends Object implements Serializable, Cloneable, StructuredPojo
Details about a deleted OpenSearch Serverless collection.
Constructor and Description |
---|
DeleteCollectionDetail() |
Modifier and Type | Method and Description |
---|---|
DeleteCollectionDetail |
clone() |
boolean |
equals(Object obj) |
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 |
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.
|
DeleteCollectionDetail |
withId(String id)
The unique identifier of the collection.
|
DeleteCollectionDetail |
withName(String name)
The name of the collection.
|
DeleteCollectionDetail |
withStatus(CollectionStatus status)
The current status of the collection.
|
DeleteCollectionDetail |
withStatus(String status)
The current status 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 DeleteCollectionDetail 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 DeleteCollectionDetail 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.CollectionStatus
public String getStatus()
The current status of the collection.
CollectionStatus
public DeleteCollectionDetail withStatus(String status)
The current status of the collection.
status
- The current status of the collection.CollectionStatus
public DeleteCollectionDetail withStatus(CollectionStatus status)
The current status of the collection.
status
- The current status of the collection.CollectionStatus
public String toString()
toString
in class Object
Object.toString()
public DeleteCollectionDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.