@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchDeletePhoneNumberResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchDeletePhoneNumberResult() |
Modifier and Type | Method and Description |
---|---|
BatchDeletePhoneNumberResult |
clone() |
boolean |
equals(Object obj) |
List<PhoneNumberError> |
getPhoneNumberErrors()
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned,
along with error codes and error messages.
|
int |
hashCode() |
void |
setPhoneNumberErrors(Collection<PhoneNumberError> phoneNumberErrors)
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned,
along with error codes and error messages.
|
String |
toString()
Returns a string representation of this object.
|
BatchDeletePhoneNumberResult |
withPhoneNumberErrors(Collection<PhoneNumberError> phoneNumberErrors)
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned,
along with error codes and error messages.
|
BatchDeletePhoneNumberResult |
withPhoneNumberErrors(PhoneNumberError... phoneNumberErrors)
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned,
along with error codes and error messages.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<PhoneNumberError> getPhoneNumberErrors()
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.
public void setPhoneNumberErrors(Collection<PhoneNumberError> phoneNumberErrors)
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.
phoneNumberErrors
- If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is
returned, along with error codes and error messages.public BatchDeletePhoneNumberResult withPhoneNumberErrors(PhoneNumberError... phoneNumberErrors)
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and 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
- If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is
returned, along with error codes and error messages.public BatchDeletePhoneNumberResult withPhoneNumberErrors(Collection<PhoneNumberError> phoneNumberErrors)
If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is returned, along with error codes and error messages.
phoneNumberErrors
- If the action fails for one or more of the phone numbers in the request, a list of the phone numbers is
returned, along with error codes and error messages.public String toString()
toString
in class Object
Object.toString()
public BatchDeletePhoneNumberResult clone()