@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDomainNamesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The results of a ListDomainNames
operation. Contains the names of all domains owned by this account and
their respective engine types.
Constructor and Description |
---|
ListDomainNamesResult() |
Modifier and Type | Method and Description |
---|---|
ListDomainNamesResult |
clone() |
boolean |
equals(Object obj) |
List<DomainInfo> |
getDomainNames()
The names of all OpenSearch Service domains owned by the current user and their respective engine types.
|
int |
hashCode() |
void |
setDomainNames(Collection<DomainInfo> domainNames)
The names of all OpenSearch Service domains owned by the current user and their respective engine types.
|
String |
toString()
Returns a string representation of this object.
|
ListDomainNamesResult |
withDomainNames(Collection<DomainInfo> domainNames)
The names of all OpenSearch Service domains owned by the current user and their respective engine types.
|
ListDomainNamesResult |
withDomainNames(DomainInfo... domainNames)
The names of all OpenSearch Service domains owned by the current user and their respective engine types.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DomainInfo> getDomainNames()
The names of all OpenSearch Service domains owned by the current user and their respective engine types.
public void setDomainNames(Collection<DomainInfo> domainNames)
The names of all OpenSearch Service domains owned by the current user and their respective engine types.
domainNames
- The names of all OpenSearch Service domains owned by the current user and their respective engine types.public ListDomainNamesResult withDomainNames(DomainInfo... domainNames)
The names of all OpenSearch Service domains owned by the current user and their respective engine types.
NOTE: This method appends the values to the existing list (if any). Use
setDomainNames(java.util.Collection)
or withDomainNames(java.util.Collection)
if you want to
override the existing values.
domainNames
- The names of all OpenSearch Service domains owned by the current user and their respective engine types.public ListDomainNamesResult withDomainNames(Collection<DomainInfo> domainNames)
The names of all OpenSearch Service domains owned by the current user and their respective engine types.
domainNames
- The names of all OpenSearch Service domains owned by the current user and their respective engine types.public String toString()
toString
in class Object
Object.toString()
public ListDomainNamesResult clone()