@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IndexConfigurationSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary 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 identifier for the index.
|
String |
getName()
The name of 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 |
setEdition(String edition)
Indicates whether the index is a Enterprise Edition index or a Developer Edition index.
|
void |
setId(String id)
A identifier for the index.
|
void |
setName(String name)
The name 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.
|
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 identifier for the index.
|
IndexConfigurationSummary |
withName(String name)
The name 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.
|
public void setName(String name)
The name of the index.
name
- The name of the index.public String getName()
The name of the index.
public IndexConfigurationSummary withName(String name)
The name of the index.
name
- The name of the index.public void setId(String id)
A identifier for the index. Use this to identify the index when you are using APIs such as Query
,
DescribeIndex
, UpdateIndex
, and DeleteIndex
.
id
- A 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 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 identifier for the index. Use this to identify the index when you are using APIs such as Query
,
DescribeIndex
, UpdateIndex
, and DeleteIndex
.
id
- A 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.
updatedAt
- The Unix timestamp when the index was last updated.public Date getUpdatedAt()
The Unix timestamp when the index was last updated.
public IndexConfigurationSummary 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 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.