@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Index extends Object implements Serializable, Cloneable, StructuredPojo
Summary information for your Amazon Q Business index.
Constructor and Description |
---|
Index() |
Modifier and Type | Method and Description |
---|---|
Index |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The Unix timestamp when the index was created.
|
String |
getDisplayName()
The name of the index.
|
String |
getIndexId()
The identifier for the index.
|
String |
getStatus()
The current status of the index.
|
Date |
getUpdatedAt()
The Unix timestamp when the index was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The Unix timestamp when the index was created.
|
void |
setDisplayName(String displayName)
The name of the index.
|
void |
setIndexId(String indexId)
The identifier for the index.
|
void |
setStatus(String status)
The current status of the index.
|
void |
setUpdatedAt(Date updatedAt)
The Unix timestamp when the index was last updated.
|
String |
toString()
Returns a string representation of this object.
|
Index |
withCreatedAt(Date createdAt)
The Unix timestamp when the index was created.
|
Index |
withDisplayName(String displayName)
The name of the index.
|
Index |
withIndexId(String indexId)
The identifier for the index.
|
Index |
withStatus(IndexStatus status)
The current status of the index.
|
Index |
withStatus(String status)
The current status of the index.
|
Index |
withUpdatedAt(Date updatedAt)
The Unix timestamp when the index was last updated.
|
public void setDisplayName(String displayName)
The name of the index.
displayName
- The name of the index.public String getDisplayName()
The name of the index.
public Index withDisplayName(String displayName)
The name of the index.
displayName
- The name of the index.public void setIndexId(String indexId)
The identifier for the index.
indexId
- The identifier for the index.public String getIndexId()
The identifier for the index.
public Index withIndexId(String indexId)
The identifier for the index.
indexId
- The identifier for the index.public void setCreatedAt(Date createdAt)
The Unix timestamp when the index was created.
createdAt
- The Unix timestamp when the index was created.public Date getCreatedAt()
The Unix timestamp when the index was created.
public Index withCreatedAt(Date createdAt)
The Unix timestamp when the index was created.
createdAt
- The Unix timestamp when the index was created.public void setUpdatedAt(Date updatedAt)
The Unix timestamp when the index was last updated.
updatedAt
- The Unix timestamp when the index was last updated.public Date getUpdatedAt()
The Unix timestamp when the index was last updated.
public Index withUpdatedAt(Date updatedAt)
The Unix timestamp when the index was last updated.
updatedAt
- The Unix timestamp when the index was last updated.public void setStatus(String status)
The current status of the index. When the status is ACTIVE
, the index is ready.
status
- The current status of the index. When the status is ACTIVE
, the index is ready.IndexStatus
public String getStatus()
The current status of the index. When the status is ACTIVE
, the index is ready.
ACTIVE
, the index is ready.IndexStatus
public Index withStatus(String status)
The current status of the index. When the status is ACTIVE
, the index is ready.
status
- The current status of the index. When the status is ACTIVE
, the index is ready.IndexStatus
public Index withStatus(IndexStatus status)
The current status of the index. When the status is ACTIVE
, the index is ready.
status
- The current status of the index. When the status is ACTIVE
, the index is ready.IndexStatus
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.