@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class QuerySuggestionsBlockListSummary extends Object implements Serializable, Cloneable, StructuredPojo
Summary information on a query suggestions block list.
This includes information on the block list ID, block list name, when the block list was created, when the block list was last updated, and the count of block words/phrases in the block list.
For information on the current quota limits for block lists, see Quotas for Amazon Kendra.
Constructor and Description |
---|
QuerySuggestionsBlockListSummary() |
Modifier and Type | Method and Description |
---|---|
QuerySuggestionsBlockListSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The date-time summary information for a query suggestions block list was last created.
|
String |
getId()
The identifier of a block list.
|
Integer |
getItemCount()
The number of items in the block list file.
|
String |
getName()
The name of the block list.
|
String |
getStatus()
The status of the block list.
|
Date |
getUpdatedAt()
The date-time the block list was last updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The date-time summary information for a query suggestions block list was last created.
|
void |
setId(String id)
The identifier of a block list.
|
void |
setItemCount(Integer itemCount)
The number of items in the block list file.
|
void |
setName(String name)
The name of the block list.
|
void |
setStatus(String status)
The status of the block list.
|
void |
setUpdatedAt(Date updatedAt)
The date-time the block list was last updated.
|
String |
toString()
Returns a string representation of this object.
|
QuerySuggestionsBlockListSummary |
withCreatedAt(Date createdAt)
The date-time summary information for a query suggestions block list was last created.
|
QuerySuggestionsBlockListSummary |
withId(String id)
The identifier of a block list.
|
QuerySuggestionsBlockListSummary |
withItemCount(Integer itemCount)
The number of items in the block list file.
|
QuerySuggestionsBlockListSummary |
withName(String name)
The name of the block list.
|
QuerySuggestionsBlockListSummary |
withStatus(QuerySuggestionsBlockListStatus status)
The status of the block list.
|
QuerySuggestionsBlockListSummary |
withStatus(String status)
The status of the block list.
|
QuerySuggestionsBlockListSummary |
withUpdatedAt(Date updatedAt)
The date-time the block list was last updated.
|
public void setId(String id)
The identifier of a block list.
id
- The identifier of a block list.public String getId()
The identifier of a block list.
public QuerySuggestionsBlockListSummary withId(String id)
The identifier of a block list.
id
- The identifier of a block list.public void setName(String name)
The name of the block list.
name
- The name of the block list.public String getName()
The name of the block list.
public QuerySuggestionsBlockListSummary withName(String name)
The name of the block list.
name
- The name of the block list.public void setStatus(String status)
The status of the block list.
status
- The status of the block list.QuerySuggestionsBlockListStatus
public String getStatus()
The status of the block list.
QuerySuggestionsBlockListStatus
public QuerySuggestionsBlockListSummary withStatus(String status)
The status of the block list.
status
- The status of the block list.QuerySuggestionsBlockListStatus
public QuerySuggestionsBlockListSummary withStatus(QuerySuggestionsBlockListStatus status)
The status of the block list.
status
- The status of the block list.QuerySuggestionsBlockListStatus
public void setCreatedAt(Date createdAt)
The date-time summary information for a query suggestions block list was last created.
createdAt
- The date-time summary information for a query suggestions block list was last created.public Date getCreatedAt()
The date-time summary information for a query suggestions block list was last created.
public QuerySuggestionsBlockListSummary withCreatedAt(Date createdAt)
The date-time summary information for a query suggestions block list was last created.
createdAt
- The date-time summary information for a query suggestions block list was last created.public void setUpdatedAt(Date updatedAt)
The date-time the block list was last updated.
updatedAt
- The date-time the block list was last updated.public Date getUpdatedAt()
The date-time the block list was last updated.
public QuerySuggestionsBlockListSummary withUpdatedAt(Date updatedAt)
The date-time the block list was last updated.
updatedAt
- The date-time the block list was last updated.public void setItemCount(Integer itemCount)
The number of items in the block list file.
itemCount
- The number of items in the block list file.public Integer getItemCount()
The number of items in the block list file.
public QuerySuggestionsBlockListSummary withItemCount(Integer itemCount)
The number of items in the block list file.
itemCount
- The number of items in the block list file.public String toString()
toString
in class Object
Object.toString()
public QuerySuggestionsBlockListSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.