@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<DomainDetails> |
getDomains()
The list of domains.
|
String |
getNextToken()
If the previous response was truncated, you will receive this token.
|
int |
hashCode() |
void |
setDomains(Collection<DomainDetails> domains)
The list of domains.
|
void |
setNextToken(String nextToken)
If the previous response was truncated, you will receive this token.
|
String |
toString()
Returns a string representation of this object.
|
ListDomainsResult |
withDomains(Collection<DomainDetails> domains)
The list of domains.
|
ListDomainsResult |
withDomains(DomainDetails... domains)
The list of domains.
|
ListDomainsResult |
withNextToken(String nextToken)
If the previous response was truncated, you will receive this token.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DomainDetails> getDomains()
The list of domains.
public void setDomains(Collection<DomainDetails> domains)
The list of domains.
domains
- The list of domains.public ListDomainsResult withDomains(DomainDetails... domains)
The list of 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
- The list of domains.public ListDomainsResult withDomains(Collection<DomainDetails> domains)
The list of domains.
domains
- The list of domains.public void setNextToken(String nextToken)
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
nextToken
- If the previous response was truncated, you will receive this token. Use it in your next request to
receive the next set of results.public String getNextToken()
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
public ListDomainsResult withNextToken(String nextToken)
If the previous response was truncated, you will receive this token. Use it in your next request to receive the next set of results.
nextToken
- If the previous response was truncated, you will receive this token. Use it in your next request to
receive the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListDomainsResult clone()