@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> |
getItems()
The results of the
ListDomains action. |
String |
getNextToken()
When the number of domains is greater than the default value for the
MaxResults parameter, or if you
explicitly specify a value for MaxResults that is less than the number of domains, the response
includes a pagination token named NextToken . |
int |
hashCode() |
void |
setItems(Collection<DomainSummary> items)
The results of the
ListDomains action. |
void |
setNextToken(String nextToken)
When the number of domains is greater than the default value for the
MaxResults parameter, or if you
explicitly specify a value for MaxResults that is less than the number of domains, the response
includes a pagination token named NextToken . |
String |
toString()
Returns a string representation of this object.
|
ListDomainsResult |
withItems(Collection<DomainSummary> items)
The results of the
ListDomains action. |
ListDomainsResult |
withItems(DomainSummary... items)
The results of the
ListDomains action. |
ListDomainsResult |
withNextToken(String nextToken)
When the number of domains is greater than the default value for the
MaxResults parameter, or if you
explicitly specify a value for MaxResults that is less than the number of domains, the response
includes a pagination token named NextToken . |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DomainSummary> getItems()
The results of the ListDomains
action.
ListDomains
action.public void setItems(Collection<DomainSummary> items)
The results of the ListDomains
action.
items
- The results of the ListDomains
action.public ListDomainsResult withItems(DomainSummary... items)
The results of the ListDomains
action.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- The results of the ListDomains
action.public ListDomainsResult withItems(Collection<DomainSummary> items)
The results of the ListDomains
action.
items
- The results of the ListDomains
action.public void setNextToken(String nextToken)
When the number of domains is greater than the default value for the MaxResults
parameter, or if you
explicitly specify a value for MaxResults
that is less than the number of domains, the response
includes a pagination token named NextToken
. You can specify this NextToken
value in a
subsequent call to ListDomains
to list the next set of domains.
nextToken
- When the number of domains is greater than the default value for the MaxResults
parameter, or
if you explicitly specify a value for MaxResults
that is less than the number of domains, the
response includes a pagination token named NextToken
. You can specify this
NextToken
value in a subsequent call to ListDomains
to list the next set of
domains.public String getNextToken()
When the number of domains is greater than the default value for the MaxResults
parameter, or if you
explicitly specify a value for MaxResults
that is less than the number of domains, the response
includes a pagination token named NextToken
. You can specify this NextToken
value in a
subsequent call to ListDomains
to list the next set of domains.
MaxResults
parameter,
or if you explicitly specify a value for MaxResults
that is less than the number of domains,
the response includes a pagination token named NextToken
. You can specify this
NextToken
value in a subsequent call to ListDomains
to list the next set of
domains.public ListDomainsResult withNextToken(String nextToken)
When the number of domains is greater than the default value for the MaxResults
parameter, or if you
explicitly specify a value for MaxResults
that is less than the number of domains, the response
includes a pagination token named NextToken
. You can specify this NextToken
value in a
subsequent call to ListDomains
to list the next set of domains.
nextToken
- When the number of domains is greater than the default value for the MaxResults
parameter, or
if you explicitly specify a value for MaxResults
that is less than the number of domains, the
response includes a pagination token named NextToken
. You can specify this
NextToken
value in a subsequent call to ListDomains
to list the next set of
domains.public String toString()
toString
in class Object
Object.toString()
public ListDomainsResult clone()