Class GetDomainNamesResult
- java.lang.Object
-
- com.amazonaws.services.apigateway.model.GetDomainNamesResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class GetDomainNamesResult extends Object implements Serializable, Cloneable
Represents a collection of DomainName resources.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetDomainNamesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetDomainNamesResult
clone()
boolean
equals(Object obj)
List<DomainName>
getItems()
The current page of any DomainName resources in the collection of DomainName resources.String
getPosition()
int
hashCode()
void
setItems(Collection<DomainName> items)
The current page of any DomainName resources in the collection of DomainName resources.void
setPosition(String position)
String
toString()
Returns a string representation of this object; useful for testing and debugging.GetDomainNamesResult
withItems(DomainName... items)
The current page of any DomainName resources in the collection of DomainName resources.GetDomainNamesResult
withItems(Collection<DomainName> items)
The current page of any DomainName resources in the collection of DomainName resources.GetDomainNamesResult
withPosition(String position)
-
-
-
Method Detail
-
setPosition
public void setPosition(String position)
- Parameters:
position
-
-
getPosition
public String getPosition()
- Returns:
-
withPosition
public GetDomainNamesResult withPosition(String position)
- Parameters:
position
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getItems
public List<DomainName> getItems()
The current page of any DomainName resources in the collection of DomainName resources.
- Returns:
- The current page of any DomainName resources in the collection of DomainName resources.
-
setItems
public void setItems(Collection<DomainName> items)
The current page of any DomainName resources in the collection of DomainName resources.
- Parameters:
items
- The current page of any DomainName resources in the collection of DomainName resources.
-
withItems
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)
orwithItems(java.util.Collection)
if you want to override the existing values.- Parameters:
items
- The current page of any DomainName resources in the collection of DomainName resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withItems
public GetDomainNamesResult withItems(Collection<DomainName> items)
The current page of any DomainName resources in the collection of DomainName resources.
- Parameters:
items
- The current page of any DomainName resources in the collection of DomainName resources.- 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetDomainNamesResult clone()
-
-