@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 returned list of DomainSummary
objects.
|
String |
getNextToken()
The token for the next set of results.
|
int |
hashCode() |
void |
setDomains(Collection<DomainSummary> domains)
The returned list of DomainSummary
objects.
|
void |
setNextToken(String nextToken)
The token for the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListDomainsResult |
withDomains(Collection<DomainSummary> domains)
The returned list of DomainSummary
objects.
|
ListDomainsResult |
withDomains(DomainSummary... domains)
The returned list of DomainSummary
objects.
|
ListDomainsResult |
withNextToken(String nextToken)
The token for the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DomainSummary> getDomains()
The returned list of DomainSummary objects.
public void setDomains(Collection<DomainSummary> domains)
The returned list of DomainSummary objects.
domains
- The returned list of DomainSummary objects.public ListDomainsResult withDomains(DomainSummary... domains)
The returned list of DomainSummary objects.
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 returned list of DomainSummary objects.public ListDomainsResult withDomains(Collection<DomainSummary> domains)
The returned list of DomainSummary objects.
domains
- The returned list of DomainSummary objects.public void setNextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request
to retrieve the next set of results.public String getNextToken()
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
public ListDomainsResult withNextToken(String nextToken)
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
nextToken
- The token for the next set of results. Use the value returned in the previous response in the next request
to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListDomainsResult clone()