@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FoundByKeyValue extends Object implements Serializable, Cloneable, StructuredPojo
A data type pair that consists of a KeyName
and Values
list that were used to find a
profile returned in response to a SearchProfiles
request.
Constructor and Description |
---|
FoundByKeyValue() |
Modifier and Type | Method and Description |
---|---|
FoundByKeyValue |
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.
|
FoundByKeyValue |
withKeyName(String keyName)
A searchable identifier of a customer profile.
|
FoundByKeyValue |
withValues(Collection<String> values)
A list of key values.
|
FoundByKeyValue |
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 FoundByKeyValue 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 FoundByKeyValue 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 FoundByKeyValue withValues(Collection<String> values)
A list of key values.
values
- A list of key values.public String toString()
toString
in class Object
Object.toString()
public FoundByKeyValue clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.