@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociatePhoneNumbersWithVoiceConnectorGroupResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
AssociatePhoneNumbersWithVoiceConnectorGroupResult() |
Modifier and Type | Method and Description |
---|---|
AssociatePhoneNumbersWithVoiceConnectorGroupResult |
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.
|
AssociatePhoneNumbersWithVoiceConnectorGroupResult |
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.
|
AssociatePhoneNumbersWithVoiceConnectorGroupResult |
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 AssociatePhoneNumbersWithVoiceConnectorGroupResult()
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 AssociatePhoneNumbersWithVoiceConnectorGroupResult 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 AssociatePhoneNumbersWithVoiceConnectorGroupResult 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 AssociatePhoneNumbersWithVoiceConnectorGroupResult clone()