@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDomainNamesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents a collection of DomainName resources.
| Constructor and Description |
|---|
GetDomainNamesResult () |
| Modifier and Type | Method and Description |
|---|---|
GetDomainNamesResult |
clone () |
boolean |
equals (Object obj) |
List<DomainName> |
getItems ()
The current page of elements from this collection.
|
String |
getPosition () |
int |
hashCode () |
void |
setItems (Collection<DomainName> items)
The current page of elements from this collection.
|
void |
setPosition (String position) |
String |
toString ()
Returns a string representation of this object.
|
GetDomainNamesResult |
withItems (Collection<DomainName> items)
The current page of elements from this collection.
|
GetDomainNamesResult |
withItems (DomainName... items)
The current page of elements from this collection.
|
GetDomainNamesResult |
withPosition (String position) |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata public GetDomainNamesResult()
public void setPosition(String position)
position - public String getPosition()
public GetDomainNamesResult withPosition(String position)
position - public List<DomainName> getItems()
The current page of elements from this collection.
public void setItems(Collection<DomainName> items)
The current page of elements from this collection.
items - The current page of elements from this collection.public GetDomainNamesResult withItems(DomainName... items)
The current page of elements from this collection.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection) or withItems(java.util.Collection) if you want to override the
existing values.
items - The current page of elements from this collection.public GetDomainNamesResult withItems(Collection<DomainName> items)
The current page of elements from this collection.
items - The current page of elements from this collection.public String toString()
toString in class Object Object.toString() public GetDomainNamesResult clone()