@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddProfileKeyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AddProfileKeyResult() |
Modifier and Type | Method and Description |
---|---|
AddProfileKeyResult |
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 |
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.
|
AddProfileKeyResult |
withKeyName(String keyName)
A searchable identifier of a customer profile.
|
AddProfileKeyResult |
withValues(Collection<String> values)
A list of key values.
|
AddProfileKeyResult |
withValues(String... values)
A list of key values.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 AddProfileKeyResult 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 AddProfileKeyResult 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 AddProfileKeyResult 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 AddProfileKeyResult clone()