@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDomainsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The ListDomains response includes the following elements.
Constructor and Description |
---|
ListDomainsResult() |
Modifier and Type | Method and Description |
---|---|
ListDomainsResult |
clone() |
boolean |
equals(Object obj) |
List<DomainSummary> |
getDomains()
A list of domains.
|
String |
getNextPageMarker()
If there are more domains than you specified for
MaxItems in the request, submit another request and
include the value of NextPageMarker in the value of Marker . |
int |
hashCode() |
void |
setDomains(Collection<DomainSummary> domains)
A list of domains.
|
void |
setNextPageMarker(String nextPageMarker)
If there are more domains than you specified for
MaxItems in the request, submit another request and
include the value of NextPageMarker in the value of Marker . |
String |
toString()
Returns a string representation of this object.
|
ListDomainsResult |
withDomains(Collection<DomainSummary> domains)
A list of domains.
|
ListDomainsResult |
withDomains(DomainSummary... domains)
A list of domains.
|
ListDomainsResult |
withNextPageMarker(String nextPageMarker)
If there are more domains than you specified for
MaxItems in the request, submit another request and
include the value of NextPageMarker in the value of Marker . |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DomainSummary> getDomains()
A list of domains.
public void setDomains(Collection<DomainSummary> domains)
A list of domains.
domains
- A list of domains.public ListDomainsResult withDomains(DomainSummary... domains)
A 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
- A list of domains.public ListDomainsResult withDomains(Collection<DomainSummary> domains)
A list of domains.
domains
- A list of domains.public void setNextPageMarker(String nextPageMarker)
If there are more domains than you specified for MaxItems
in the request, submit another request and
include the value of NextPageMarker
in the value of Marker
.
nextPageMarker
- If there are more domains than you specified for MaxItems
in the request, submit another
request and include the value of NextPageMarker
in the value of Marker
.public String getNextPageMarker()
If there are more domains than you specified for MaxItems
in the request, submit another request and
include the value of NextPageMarker
in the value of Marker
.
MaxItems
in the request, submit another
request and include the value of NextPageMarker
in the value of Marker
.public ListDomainsResult withNextPageMarker(String nextPageMarker)
If there are more domains than you specified for MaxItems
in the request, submit another request and
include the value of NextPageMarker
in the value of Marker
.
nextPageMarker
- If there are more domains than you specified for MaxItems
in the request, submit another
request and include the value of NextPageMarker
in the value of Marker
.public String toString()
toString
in class Object
Object.toString()
public ListDomainsResult clone()