@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConflictingItem extends Object implements Serializable, Cloneable, StructuredPojo
Information about a conflicting query used across different sets of featured results. When you create a featured results set, you must check that the queries are unique per featured results set for each index.
Constructor and Description |
---|
ConflictingItem() |
Modifier and Type | Method and Description |
---|---|
ConflictingItem |
clone() |
boolean |
equals(Object obj) |
String |
getQueryText()
The text of the conflicting query.
|
String |
getSetId()
The identifier of the set of featured results that the conflicting query belongs to.
|
String |
getSetName()
The name for the set of featured results that the conflicting query belongs to.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setQueryText(String queryText)
The text of the conflicting query.
|
void |
setSetId(String setId)
The identifier of the set of featured results that the conflicting query belongs to.
|
void |
setSetName(String setName)
The name for the set of featured results that the conflicting query belongs to.
|
String |
toString()
Returns a string representation of this object.
|
ConflictingItem |
withQueryText(String queryText)
The text of the conflicting query.
|
ConflictingItem |
withSetId(String setId)
The identifier of the set of featured results that the conflicting query belongs to.
|
ConflictingItem |
withSetName(String setName)
The name for the set of featured results that the conflicting query belongs to.
|
public void setQueryText(String queryText)
The text of the conflicting query.
queryText
- The text of the conflicting query.public String getQueryText()
The text of the conflicting query.
public ConflictingItem withQueryText(String queryText)
The text of the conflicting query.
queryText
- The text of the conflicting query.public void setSetName(String setName)
The name for the set of featured results that the conflicting query belongs to.
setName
- The name for the set of featured results that the conflicting query belongs to.public String getSetName()
The name for the set of featured results that the conflicting query belongs to.
public ConflictingItem withSetName(String setName)
The name for the set of featured results that the conflicting query belongs to.
setName
- The name for the set of featured results that the conflicting query belongs to.public void setSetId(String setId)
The identifier of the set of featured results that the conflicting query belongs to.
setId
- The identifier of the set of featured results that the conflicting query belongs to.public String getSetId()
The identifier of the set of featured results that the conflicting query belongs to.
public ConflictingItem withSetId(String setId)
The identifier of the set of featured results that the conflicting query belongs to.
setId
- The identifier of the set of featured results that the conflicting query belongs to.public String toString()
toString
in class Object
Object.toString()
public ConflictingItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.