public class CheckIfPhoneNumberIsOptedOutResult
extends java.lang.Object
implements java.io.Serializable
The response from the CheckIfPhoneNumberIsOptedOut
action.
Constructor and Description |
---|
CheckIfPhoneNumberIsOptedOutResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getIsOptedOut()
Indicates whether the phone number is opted out:
|
int |
hashCode() |
java.lang.Boolean |
isIsOptedOut()
Indicates whether the phone number is opted out:
|
void |
setIsOptedOut(java.lang.Boolean isOptedOut)
Indicates whether the phone number is opted out:
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CheckIfPhoneNumberIsOptedOutResult |
withIsOptedOut(java.lang.Boolean isOptedOut)
Indicates whether the phone number is opted out:
|
public java.lang.Boolean isIsOptedOut()
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.
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 java.lang.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.
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 void setIsOptedOut(java.lang.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 CheckIfPhoneNumberIsOptedOutResult withIsOptedOut(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.