@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CheckIfPhoneNumberIsOptedOutResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The response from the CheckIfPhoneNumberIsOptedOut
action.
Constructor and Description |
---|
CheckIfPhoneNumberIsOptedOutResult() |
Modifier and Type | Method and Description |
---|---|
CheckIfPhoneNumberIsOptedOutResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsOptedOut()
Indicates whether the phone number is opted out:
|
int |
hashCode() |
Boolean |
isOptedOut()
Indicates whether the phone number is opted out:
|
void |
setIsOptedOut(Boolean isOptedOut)
Indicates whether the phone number is opted out:
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CheckIfPhoneNumberIsOptedOutResult |
withIsOptedOut(Boolean isOptedOut)
Indicates whether the phone number is opted out:
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setIsOptedOut(Boolean isOptedOut)
Indicates whether the phone number is opted out:
true
– The phone number is opted out, meaning you cannot publish SMS messages to it.
false
– The phone number is opted in, meaning you can publish SMS messages to it.
isOptedOut
- Indicates whether the phone number is opted out:
true
– The phone number is opted out, meaning you cannot publish SMS messages to it.
false
– The phone number is opted in, meaning you can publish SMS messages to it.
public Boolean getIsOptedOut()
Indicates whether the phone number is opted out:
true
– The phone number is opted out, meaning you cannot publish SMS messages to it.
false
– The phone number is opted in, meaning you can publish SMS messages to it.
true
– The phone number is opted out, meaning you cannot publish SMS messages to it.
false
– The phone number is opted in, meaning you can publish SMS messages to it.
public CheckIfPhoneNumberIsOptedOutResult withIsOptedOut(Boolean isOptedOut)
Indicates whether the phone number is opted out:
true
– The phone number is opted out, meaning you cannot publish SMS messages to it.
false
– The phone number is opted in, meaning you can publish SMS messages to it.
isOptedOut
- Indicates whether the phone number is opted out:
true
– The phone number is opted out, meaning you cannot publish SMS messages to it.
false
– The phone number is opted in, meaning you can publish SMS messages to it.
public Boolean isOptedOut()
Indicates whether the phone number is opted out:
true
– The phone number is opted out, meaning you cannot publish SMS messages to it.
false
– The phone number is opted in, meaning you can publish SMS messages to it.
true
– The phone number is opted out, meaning you cannot publish SMS messages to it.
false
– The phone number is opted in, meaning you can publish SMS messages to it.
public String toString()
toString
in class Object
Object.toString()
public CheckIfPhoneNumberIsOptedOutResult clone()
Copyright © 2017. All rights reserved.