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