Class ListDomainsResult
- java.lang.Object
-
- com.amazonaws.services.simpledb.model.ListDomainsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListDomainsResult extends Object implements Serializable, Cloneable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListDomainsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDomainsResultclone()booleanequals(Object obj)List<String>getDomainNames()A list of domain names that match the expression.StringgetNextToken()An opaque token indicating that there are more domains than the specifiedMaxNumberOfDomainsstill available.inthashCode()voidsetDomainNames(Collection<String> domainNames)A list of domain names that match the expression.voidsetNextToken(String nextToken)An opaque token indicating that there are more domains than the specifiedMaxNumberOfDomainsstill available.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListDomainsResultwithDomainNames(String... domainNames)A list of domain names that match the expression.ListDomainsResultwithDomainNames(Collection<String> domainNames)A list of domain names that match the expression.ListDomainsResultwithNextToken(String nextToken)An opaque token indicating that there are more domains than the specifiedMaxNumberOfDomainsstill available.
-
-
-
Method Detail
-
getDomainNames
public List<String> getDomainNames()
A list of domain names that match the expression.- Returns:
- A list of domain names that match the expression.
-
setDomainNames
public void setDomainNames(Collection<String> domainNames)
A list of domain names that match the expression.- Parameters:
domainNames- A list of domain names that match the expression.
-
withDomainNames
public ListDomainsResult withDomainNames(String... domainNames)
A list of domain names that match the expression.NOTE: This method appends the values to the existing list (if any). Use
setDomainNames(java.util.Collection)orwithDomainNames(java.util.Collection)if you want to override the existing values.- Parameters:
domainNames- A list of domain names that match the expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDomainNames
public ListDomainsResult withDomainNames(Collection<String> domainNames)
A list of domain names that match the expression.- Parameters:
domainNames- A list of domain names that match the expression.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
public void setNextToken(String nextToken)
An opaque token indicating that there are more domains than the specifiedMaxNumberOfDomainsstill available.- Parameters:
nextToken- An opaque token indicating that there are more domains than the specifiedMaxNumberOfDomainsstill available.
-
getNextToken
public String getNextToken()
An opaque token indicating that there are more domains than the specifiedMaxNumberOfDomainsstill available.- Returns:
- An opaque token indicating that there are more domains than the
specified
MaxNumberOfDomainsstill available.
-
withNextToken
public ListDomainsResult withNextToken(String nextToken)
An opaque token indicating that there are more domains than the specifiedMaxNumberOfDomainsstill available.- Parameters:
nextToken- An opaque token indicating that there are more domains than the specifiedMaxNumberOfDomainsstill available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListDomainsResult clone()
-
-