@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListVoiceConnectorTerminationCredentialsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListVoiceConnectorTerminationCredentialsResult() |
Modifier and Type | Method and Description |
---|---|
ListVoiceConnectorTerminationCredentialsResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getUsernames()
A list of user names.
|
int |
hashCode() |
void |
setUsernames(Collection<String> usernames)
A list of user names.
|
String |
toString()
Returns a string representation of this object.
|
ListVoiceConnectorTerminationCredentialsResult |
withUsernames(Collection<String> usernames)
A list of user names.
|
ListVoiceConnectorTerminationCredentialsResult |
withUsernames(String... usernames)
A list of user names.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public ListVoiceConnectorTerminationCredentialsResult()
public List<String> getUsernames()
A list of user names.
public void setUsernames(Collection<String> usernames)
A list of user names.
usernames
- A list of user names.public ListVoiceConnectorTerminationCredentialsResult withUsernames(String... usernames)
A list of user names.
NOTE: This method appends the values to the existing list (if any). Use
setUsernames(java.util.Collection)
or withUsernames(java.util.Collection)
if you want to
override the existing values.
usernames
- A list of user names.public ListVoiceConnectorTerminationCredentialsResult withUsernames(Collection<String> usernames)
A list of user names.
usernames
- A list of user names.public String toString()
toString
in class Object
Object.toString()
public ListVoiceConnectorTerminationCredentialsResult clone()