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 ListDomainsResult
clone()
boolean
equals(Object obj)
List<String>
getDomainNames()
A list of domain names that match the expression.String
getNextToken()
An opaque token indicating that there are more domains than the specifiedMaxNumberOfDomains
still available.int
hashCode()
void
setDomainNames(Collection<String> domainNames)
A list of domain names that match the expression.void
setNextToken(String nextToken)
An opaque token indicating that there are more domains than the specifiedMaxNumberOfDomains
still available.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListDomainsResult
withDomainNames(String... domainNames)
A list of domain names that match the expression.ListDomainsResult
withDomainNames(Collection<String> domainNames)
A list of domain names that match the expression.ListDomainsResult
withNextToken(String nextToken)
An opaque token indicating that there are more domains than the specifiedMaxNumberOfDomains
still 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 specifiedMaxNumberOfDomains
still available.- Parameters:
nextToken
- An opaque token indicating that there are more domains than the specifiedMaxNumberOfDomains
still available.
-
getNextToken
public String getNextToken()
An opaque token indicating that there are more domains than the specifiedMaxNumberOfDomains
still available.- Returns:
- An opaque token indicating that there are more domains than the
specified
MaxNumberOfDomains
still available.
-
withNextToken
public ListDomainsResult withNextToken(String nextToken)
An opaque token indicating that there are more domains than the specifiedMaxNumberOfDomains
still available.- Parameters:
nextToken
- An opaque token indicating that there are more domains than the specifiedMaxNumberOfDomains
still 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListDomainsResult clone()
-
-