@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateCollectionDetail extends Object implements Serializable, Cloneable, StructuredPojo
Details about an updated OpenSearch Serverless collection.
Constructor and Description |
---|
UpdateCollectionDetail() |
Modifier and Type | Method and Description |
---|---|
UpdateCollectionDetail |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the collection.
|
Long |
getCreatedDate()
The date and time when the collection was created.
|
String |
getDescription()
The description of the collection.
|
String |
getId()
The unique identifier of the collection.
|
Long |
getLastModifiedDate()
The date and time when the collection was last modified.
|
String |
getName()
The name of the collection.
|
String |
getStatus()
The current status of the collection.
|
String |
getType()
The collection type.
|
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 |
setCreatedDate(Long createdDate)
The date and time when the collection was created.
|
void |
setDescription(String description)
The description of the collection.
|
void |
setId(String id)
The unique identifier of the collection.
|
void |
setLastModifiedDate(Long lastModifiedDate)
The date and time when the collection was last modified.
|
void |
setName(String name)
The name of the collection.
|
void |
setStatus(String status)
The current status of the collection.
|
void |
setType(String type)
The collection type.
|
String |
toString()
Returns a string representation of this object.
|
UpdateCollectionDetail |
withArn(String arn)
The Amazon Resource Name (ARN) of the collection.
|
UpdateCollectionDetail |
withCreatedDate(Long createdDate)
The date and time when the collection was created.
|
UpdateCollectionDetail |
withDescription(String description)
The description of the collection.
|
UpdateCollectionDetail |
withId(String id)
The unique identifier of the collection.
|
UpdateCollectionDetail |
withLastModifiedDate(Long lastModifiedDate)
The date and time when the collection was last modified.
|
UpdateCollectionDetail |
withName(String name)
The name of the collection.
|
UpdateCollectionDetail |
withStatus(CollectionStatus status)
The current status of the collection.
|
UpdateCollectionDetail |
withStatus(String status)
The current status of the collection.
|
UpdateCollectionDetail |
withType(CollectionType type)
The collection type.
|
UpdateCollectionDetail |
withType(String type)
The collection type.
|
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 UpdateCollectionDetail withArn(String arn)
The Amazon Resource Name (ARN) of the collection.
arn
- The Amazon Resource Name (ARN) of the collection.public void setCreatedDate(Long createdDate)
The date and time when the collection was created.
createdDate
- The date and time when the collection was created.public Long getCreatedDate()
The date and time when the collection was created.
public UpdateCollectionDetail withCreatedDate(Long createdDate)
The date and time when the collection was created.
createdDate
- The date and time when the collection was created.public void setDescription(String description)
The description of the collection.
description
- The description of the collection.public String getDescription()
The description of the collection.
public UpdateCollectionDetail withDescription(String description)
The description of the collection.
description
- The description 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 UpdateCollectionDetail withId(String id)
The unique identifier of the collection.
id
- The unique identifier of the collection.public void setLastModifiedDate(Long lastModifiedDate)
The date and time when the collection was last modified.
lastModifiedDate
- The date and time when the collection was last modified.public Long getLastModifiedDate()
The date and time when the collection was last modified.
public UpdateCollectionDetail withLastModifiedDate(Long lastModifiedDate)
The date and time when the collection was last modified.
lastModifiedDate
- The date and time when the collection was last modified.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 UpdateCollectionDetail 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 UpdateCollectionDetail withStatus(String status)
The current status of the collection.
status
- The current status of the collection.CollectionStatus
public UpdateCollectionDetail withStatus(CollectionStatus status)
The current status of the collection.
status
- The current status of the collection.CollectionStatus
public void setType(String type)
The collection type.
type
- The collection type.CollectionType
public String getType()
The collection type.
CollectionType
public UpdateCollectionDetail withType(String type)
The collection type.
type
- The collection type.CollectionType
public UpdateCollectionDetail withType(CollectionType type)
The collection type.
type
- The collection type.CollectionType
public String toString()
toString
in class Object
Object.toString()
public UpdateCollectionDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.