com.amazonaws.services.cloudsearchv2.model
Class ListDomainNamesResult

java.lang.Object
  extended by com.amazonaws.services.cloudsearchv2.model.ListDomainNamesResult
All Implemented Interfaces:
Serializable

public class ListDomainNamesResult
extends Object
implements Serializable

The result of a ListDomainNames request. Contains a list of the domains owned by an account.

See Also:
Serialized Form

Constructor Summary
ListDomainNamesResult()
           
 
Method Summary
 ListDomainNamesResult addDomainNamesEntry(String key, String value)
          The names of the search domains owned by an account.
 ListDomainNamesResult clearDomainNamesEntries()
          Removes all the entries added into DomainNames.
 boolean equals(Object obj)
           
 Map<String,String> getDomainNames()
          The names of the search domains owned by an account.
 int hashCode()
           
 void setDomainNames(Map<String,String> domainNames)
          The names of the search domains owned by an account.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 ListDomainNamesResult withDomainNames(Map<String,String> domainNames)
          The names of the search domains owned by an account.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListDomainNamesResult

public ListDomainNamesResult()
Method Detail

getDomainNames

public Map<String,String> getDomainNames()
The names of the search domains owned by an account.

Returns:
The names of the search domains owned by an account.

setDomainNames

public void setDomainNames(Map<String,String> domainNames)
The names of the search domains owned by an account.

Parameters:
domainNames - The names of the search domains owned by an account.

withDomainNames

public ListDomainNamesResult withDomainNames(Map<String,String> domainNames)
The names of the search domains owned by an account.

Returns a reference to this object so that method calls can be chained together.

Parameters:
domainNames - The names of the search domains owned by an account.
Returns:
A reference to this updated object so that method calls can be chained together.

addDomainNamesEntry

public ListDomainNamesResult addDomainNamesEntry(String key,
                                                 String value)
The names of the search domains owned by an account.

The method adds a new key-value pair into DomainNames parameter, and returns a reference to this object so that method calls can be chained together.

Parameters:
key - The key of the entry to be added into DomainNames.
value - The corresponding value of the entry to be added into DomainNames.

clearDomainNamesEntries

public ListDomainNamesResult clearDomainNamesEntries()
Removes all the entries added into DomainNames.

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 class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.