public class GetDomainNamesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents a collection of DomainName resources.
Modifier and Type | Field and Description |
---|---|
private java.util.List<DomainName> |
items
The current page of any DomainName resources in the collection of
DomainName resources.
|
private java.lang.String |
position |
Constructor and Description |
---|
GetDomainNamesResult() |
Modifier and Type | Method and Description |
---|---|
GetDomainNamesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<DomainName> |
getItems()
The current page of any DomainName resources in the collection of
DomainName resources.
|
java.lang.String |
getPosition() |
int |
hashCode() |
void |
setItems(java.util.Collection<DomainName> items)
The current page of any DomainName resources in the collection of
DomainName resources.
|
void |
setPosition(java.lang.String position) |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetDomainNamesResult |
withItems(java.util.Collection<DomainName> items)
The current page of any DomainName resources in the collection of
DomainName resources.
|
GetDomainNamesResult |
withItems(DomainName... items)
The current page of any DomainName resources in the collection of
DomainName resources.
|
GetDomainNamesResult |
withPosition(java.lang.String position) |
private java.lang.String position
private java.util.List<DomainName> items
The current page of any DomainName resources in the collection of DomainName resources.
public void setPosition(java.lang.String position)
position
- public java.lang.String getPosition()
public GetDomainNamesResult withPosition(java.lang.String position)
position
- public java.util.List<DomainName> getItems()
The current page of any DomainName resources in the collection of DomainName resources.
public void setItems(java.util.Collection<DomainName> items)
The current page of any DomainName resources in the collection of DomainName resources.
items
- The current page of any DomainName resources in the
collection of DomainName resources.public GetDomainNamesResult withItems(DomainName... items)
The current page of any DomainName resources in the collection of DomainName resources.
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 any DomainName resources in the
collection of DomainName resources.public GetDomainNamesResult withItems(java.util.Collection<DomainName> items)
The current page of any DomainName resources in the collection of DomainName resources.
items
- The current page of any DomainName resources in the
collection of DomainName resources.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetDomainNamesResult clone()
clone
in class java.lang.Object