@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AdditionalSearchKey extends Object implements Serializable, Cloneable, StructuredPojo
A data type pair that consists of a KeyName and Values list that is used in conjunction
with the KeyName and Values parameters to search for profiles using the SearchProfiles
API.
| Constructor and Description |
|---|
AdditionalSearchKey() |
| Modifier and Type | Method and Description |
|---|---|
AdditionalSearchKey |
clone() |
boolean |
equals(Object obj) |
String |
getKeyName()
A searchable identifier of a customer profile.
|
List<String> |
getValues()
A list of key values.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setKeyName(String keyName)
A searchable identifier of a customer profile.
|
void |
setValues(Collection<String> values)
A list of key values.
|
String |
toString()
Returns a string representation of this object.
|
AdditionalSearchKey |
withKeyName(String keyName)
A searchable identifier of a customer profile.
|
AdditionalSearchKey |
withValues(Collection<String> values)
A list of key values.
|
AdditionalSearchKey |
withValues(String... values)
A list of key values.
|
public void setKeyName(String keyName)
A searchable identifier of a customer profile.
keyName - A searchable identifier of a customer profile.public String getKeyName()
A searchable identifier of a customer profile.
public AdditionalSearchKey withKeyName(String keyName)
A searchable identifier of a customer profile.
keyName - A searchable identifier of a customer profile.public void setValues(Collection<String> values)
A list of key values.
values - A list of key values.public AdditionalSearchKey withValues(String... values)
A list of key values.
NOTE: This method appends the values to the existing list (if any). Use
setValues(java.util.Collection) or withValues(java.util.Collection) if you want to override the
existing values.
values - A list of key values.public AdditionalSearchKey withValues(Collection<String> values)
A list of key values.
values - A list of key values.public String toString()
toString in class ObjectObject.toString()public AdditionalSearchKey clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.