@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeOptedOutNumbersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description | 
|---|
DescribeOptedOutNumbersResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
DescribeOptedOutNumbersResult | 
clone()  | 
boolean | 
equals(Object obj)  | 
String | 
getNextToken()
 The token to be used for the next set of paginated results. 
 | 
List<OptedOutNumberInformation> | 
getOptedOutNumbers()
 An array of OptedOutNumbersInformation objects that provide information about the requested OptedOutNumbers. 
 | 
String | 
getOptOutListArn()
 The Amazon Resource Name (ARN) of the OptOutList. 
 | 
String | 
getOptOutListName()
 The name of the OptOutList. 
 | 
int | 
hashCode()  | 
void | 
setNextToken(String nextToken)
 The token to be used for the next set of paginated results. 
 | 
void | 
setOptedOutNumbers(Collection<OptedOutNumberInformation> optedOutNumbers)
 An array of OptedOutNumbersInformation objects that provide information about the requested OptedOutNumbers. 
 | 
void | 
setOptOutListArn(String optOutListArn)
 The Amazon Resource Name (ARN) of the OptOutList. 
 | 
void | 
setOptOutListName(String optOutListName)
 The name of the OptOutList. 
 | 
String | 
toString()
Returns a string representation of this object. 
 | 
DescribeOptedOutNumbersResult | 
withNextToken(String nextToken)
 The token to be used for the next set of paginated results. 
 | 
DescribeOptedOutNumbersResult | 
withOptedOutNumbers(Collection<OptedOutNumberInformation> optedOutNumbers)
 An array of OptedOutNumbersInformation objects that provide information about the requested OptedOutNumbers. 
 | 
DescribeOptedOutNumbersResult | 
withOptedOutNumbers(OptedOutNumberInformation... optedOutNumbers)
 An array of OptedOutNumbersInformation objects that provide information about the requested OptedOutNumbers. 
 | 
DescribeOptedOutNumbersResult | 
withOptOutListArn(String optOutListArn)
 The Amazon Resource Name (ARN) of the OptOutList. 
 | 
DescribeOptedOutNumbersResult | 
withOptOutListName(String optOutListName)
 The name of the OptOutList. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setOptOutListArn(String optOutListArn)
The Amazon Resource Name (ARN) of the OptOutList.
optOutListArn - The Amazon Resource Name (ARN) of the OptOutList.public String getOptOutListArn()
The Amazon Resource Name (ARN) of the OptOutList.
public DescribeOptedOutNumbersResult withOptOutListArn(String optOutListArn)
The Amazon Resource Name (ARN) of the OptOutList.
optOutListArn - The Amazon Resource Name (ARN) of the OptOutList.public void setOptOutListName(String optOutListName)
The name of the OptOutList.
optOutListName - The name of the OptOutList.public String getOptOutListName()
The name of the OptOutList.
public DescribeOptedOutNumbersResult withOptOutListName(String optOutListName)
The name of the OptOutList.
optOutListName - The name of the OptOutList.public List<OptedOutNumberInformation> getOptedOutNumbers()
An array of OptedOutNumbersInformation objects that provide information about the requested OptedOutNumbers.
public void setOptedOutNumbers(Collection<OptedOutNumberInformation> optedOutNumbers)
An array of OptedOutNumbersInformation objects that provide information about the requested OptedOutNumbers.
optedOutNumbers - An array of OptedOutNumbersInformation objects that provide information about the requested
        OptedOutNumbers.public DescribeOptedOutNumbersResult withOptedOutNumbers(OptedOutNumberInformation... optedOutNumbers)
An array of OptedOutNumbersInformation objects that provide information about the requested OptedOutNumbers.
 NOTE: This method appends the values to the existing list (if any). Use
 setOptedOutNumbers(java.util.Collection) or withOptedOutNumbers(java.util.Collection) if you
 want to override the existing values.
 
optedOutNumbers - An array of OptedOutNumbersInformation objects that provide information about the requested
        OptedOutNumbers.public DescribeOptedOutNumbersResult withOptedOutNumbers(Collection<OptedOutNumberInformation> optedOutNumbers)
An array of OptedOutNumbersInformation objects that provide information about the requested OptedOutNumbers.
optedOutNumbers - An array of OptedOutNumbersInformation objects that provide information about the requested
        OptedOutNumbers.public void setNextToken(String nextToken)
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
nextToken - The token to be used for the next set of paginated results. If this field is empty then there are no more
        results.public String getNextToken()
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
public DescribeOptedOutNumbersResult withNextToken(String nextToken)
The token to be used for the next set of paginated results. If this field is empty then there are no more results.
nextToken - The token to be used for the next set of paginated results. If this field is empty then there are no more
        results.public String toString()
toString in class ObjectObject.toString()public DescribeOptedOutNumbersResult clone()