@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IndexConfigurationSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of information on the configuration of an index.
Constructor and Description |
---|
IndexConfigurationSummary() |
Modifier and Type | Method and Description |
---|---|
IndexConfigurationSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The Unix timestamp when the index was created.
|
String |
getEdition()
Indicates whether the index is a enterprise edition index or a developer edition index.
|
String |
getId()
A unique identifier for the index.
|
String |
getName()
The identifier of the index.
|
String |
getStatus()
The current status of the index.
|
Date |
getUpdatedAt()
The Unix timestamp when the index was last updated by the
UpdateIndex API. |
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 |
setEdition(String edition)
Indicates whether the index is a enterprise edition index or a developer edition index.
|
void |
setId(String id)
A unique identifier for the index.
|
void |
setName(String name)
The identifier of 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 by the
UpdateIndex API. |
String |
toString()
Returns a string representation of this object.
|
IndexConfigurationSummary |
withCreatedAt(Date createdAt)
The Unix timestamp when the index was created.
|
IndexConfigurationSummary |
withEdition(IndexEdition edition)
Indicates whether the index is a enterprise edition index or a developer edition index.
|
IndexConfigurationSummary |
withEdition(String edition)
Indicates whether the index is a enterprise edition index or a developer edition index.
|
IndexConfigurationSummary |
withId(String id)
A unique identifier for the index.
|
IndexConfigurationSummary |
withName(String name)
The identifier of the index.
|
IndexConfigurationSummary |
withStatus(IndexStatus status)
The current status of the index.
|
IndexConfigurationSummary |
withStatus(String status)
The current status of the index.
|
IndexConfigurationSummary |
withUpdatedAt(Date updatedAt)
The Unix timestamp when the index was last updated by the
UpdateIndex API. |
public void setName(String name)
The identifier of the index.
name
- The identifier of the index.public String getName()
The identifier of the index.
public IndexConfigurationSummary withName(String name)
The identifier of the index.
name
- The identifier of the index.public void setId(String id)
A unique identifier for the index. Use this to identify the index when you are using APIs such as
Query
, DescribeIndex
, UpdateIndex
, and DeleteIndex
.
id
- A unique identifier for the index. Use this to identify the index when you are using APIs such as
Query
, DescribeIndex
, UpdateIndex
, and DeleteIndex
.public String getId()
A unique identifier for the index. Use this to identify the index when you are using APIs such as
Query
, DescribeIndex
, UpdateIndex
, and DeleteIndex
.
Query
, DescribeIndex
, UpdateIndex
, and DeleteIndex
.public IndexConfigurationSummary withId(String id)
A unique identifier for the index. Use this to identify the index when you are using APIs such as
Query
, DescribeIndex
, UpdateIndex
, and DeleteIndex
.
id
- A unique identifier for the index. Use this to identify the index when you are using APIs such as
Query
, DescribeIndex
, UpdateIndex
, and DeleteIndex
.public void setEdition(String edition)
Indicates whether the index is a enterprise edition index or a developer edition index.
edition
- Indicates whether the index is a enterprise edition index or a developer edition index.IndexEdition
public String getEdition()
Indicates whether the index is a enterprise edition index or a developer edition index.
IndexEdition
public IndexConfigurationSummary withEdition(String edition)
Indicates whether the index is a enterprise edition index or a developer edition index.
edition
- Indicates whether the index is a enterprise edition index or a developer edition index.IndexEdition
public IndexConfigurationSummary withEdition(IndexEdition edition)
Indicates whether the index is a enterprise edition index or a developer edition index.
edition
- Indicates whether the index is a enterprise edition index or a developer edition index.IndexEdition
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 IndexConfigurationSummary 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 by the UpdateIndex
API.
updatedAt
- The Unix timestamp when the index was last updated by the UpdateIndex
API.public Date getUpdatedAt()
The Unix timestamp when the index was last updated by the UpdateIndex
API.
UpdateIndex
API.public IndexConfigurationSummary withUpdatedAt(Date updatedAt)
The Unix timestamp when the index was last updated by the UpdateIndex
API.
updatedAt
- The Unix timestamp when the index was last updated by the UpdateIndex
API.public void setStatus(String status)
The current status of the index. When the status is ACTIVE
, the index is ready to search.
status
- The current status of the index. When the status is ACTIVE
, the index is ready to search.IndexStatus
public String getStatus()
The current status of the index. When the status is ACTIVE
, the index is ready to search.
ACTIVE
, the index is ready to search.IndexStatus
public IndexConfigurationSummary withStatus(String status)
The current status of the index. When the status is ACTIVE
, the index is ready to search.
status
- The current status of the index. When the status is ACTIVE
, the index is ready to search.IndexStatus
public IndexConfigurationSummary withStatus(IndexStatus status)
The current status of the index. When the status is ACTIVE
, the index is ready to search.
status
- The current status of the index. When the status is ACTIVE
, the index is ready to search.IndexStatus
public String toString()
toString
in class Object
Object.toString()
public IndexConfigurationSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.