@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()
Information about the domains.
|
String |
getNextToken()
The pagination token used to retrieve the next page of results for this operation.
|
int |
hashCode() |
void |
setDomains(Collection<DomainSummary> domains)
Information about the domains.
|
void |
setNextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation.
|
String |
toString()
Returns a string representation of this object.
|
ListDomainsResult |
withDomains(Collection<DomainSummary> domains)
Information about the domains.
|
ListDomainsResult |
withDomains(DomainSummary... domains)
Information about the domains.
|
ListDomainsResult |
withNextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DomainSummary> getDomains()
Information about the domains.
public void setDomains(Collection<DomainSummary> domains)
Information about the domains.
domains
- Information about the domains.public ListDomainsResult withDomains(DomainSummary... domains)
Information about the domains.
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
- Information about the domains.public ListDomainsResult withDomains(Collection<DomainSummary> domains)
Information about the domains.
domains
- Information about the domains.public void setNextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token used to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String getNextToken()
The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.
public ListDomainsResult withNextToken(String nextToken)
The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.
nextToken
- The pagination token used to retrieve the next page of results for this operation. If there are no more
pages, this value is null.public String toString()
toString
in class Object
Object.toString()
public ListDomainsResult clone()