@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDomainsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListDomainsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListDomainsResult |
clone() |
boolean |
equals(Object obj) |
List<DomainSummary> |
getDomains()
The list of domains that the
ListDomains API returns. |
String |
getNextToken()
The pagination token that's used to fetch the next set of results.
|
int |
hashCode() |
void |
setDomains(Collection<DomainSummary> domains)
The list of domains that the
ListDomains API returns. |
void |
setNextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListDomainsResult |
withDomains(Collection<DomainSummary> domains)
The list of domains that the
ListDomains API returns. |
ListDomainsResult |
withDomains(DomainSummary... domains)
The list of domains that the
ListDomains API returns. |
ListDomainsResult |
withNextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<DomainSummary> getDomains()
The list of domains that the ListDomains API returns.
ListDomains API returns.public void setDomains(Collection<DomainSummary> domains)
The list of domains that the ListDomains API returns.
domains - The list of domains that the ListDomains API returns.public ListDomainsResult withDomains(DomainSummary... domains)
The list of domains that the ListDomains API returns.
NOTE: This method appends the values to the existing list (if any). Use
setDomains(java.util.Collection) or withDomains(java.util.Collection) if you want to override
the existing values.
domains - The list of domains that the ListDomains API returns.public ListDomainsResult withDomains(Collection<DomainSummary> domains)
The list of domains that the ListDomains API returns.
domains - The list of domains that the ListDomains API returns.public void setNextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
nextToken - The pagination token that's used to fetch the next set of results.public String getNextToken()
The pagination token that's used to fetch the next set of results.
public ListDomainsResult withNextToken(String nextToken)
The pagination token that's used to fetch the next set of results.
nextToken - The pagination token that's used to fetch the next set of results.public String toString()
toString in class ObjectObject.toString()public ListDomainsResult clone()