Class ListDomainNamesResult
- java.lang.Object
-
- com.amazonaws.services.elasticsearch.model.ListDomainNamesResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListDomainNamesResult extends Object implements Serializable, Cloneable
The result of a
ListDomainNamesoperation. Contains the names of all Elasticsearch domains owned by this account.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListDomainNamesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDomainNamesResultclone()booleanequals(Object obj)List<DomainInfo>getDomainNames()List of Elasticsearch domain names.inthashCode()voidsetDomainNames(Collection<DomainInfo> domainNames)List of Elasticsearch domain names.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListDomainNamesResultwithDomainNames(DomainInfo... domainNames)List of Elasticsearch domain names.ListDomainNamesResultwithDomainNames(Collection<DomainInfo> domainNames)List of Elasticsearch domain names.
-
-
-
Method Detail
-
getDomainNames
public List<DomainInfo> getDomainNames()
List of Elasticsearch domain names.
- Returns:
- List of Elasticsearch domain names.
-
setDomainNames
public void setDomainNames(Collection<DomainInfo> domainNames)
List of Elasticsearch domain names.
- Parameters:
domainNames- List of Elasticsearch domain names.
-
withDomainNames
public ListDomainNamesResult withDomainNames(DomainInfo... domainNames)
List of Elasticsearch domain names.
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- List of Elasticsearch domain names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDomainNames
public ListDomainNamesResult withDomainNames(Collection<DomainInfo> domainNames)
List of Elasticsearch domain names.
- Parameters:
domainNames- List of Elasticsearch domain names.- 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 ListDomainNamesResult clone()
-
-