@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSitesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListSitesResult() |
Modifier and Type | Method and Description |
---|---|
ListSitesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken() |
List<Site> |
getSites() |
int |
hashCode() |
void |
setNextToken(String nextToken) |
void |
setSites(Collection<Site> sites) |
String |
toString()
Returns a string representation of this object.
|
ListSitesResult |
withNextToken(String nextToken) |
ListSitesResult |
withSites(Collection<Site> sites) |
ListSitesResult |
withSites(Site... sites)
NOTE: This method appends the values to the existing list (if any).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSites(Collection<Site> sites)
sites
- public ListSitesResult withSites(Site... sites)
NOTE: This method appends the values to the existing list (if any). Use
setSites(java.util.Collection)
or withSites(java.util.Collection)
if you want to override the
existing values.
sites
- public ListSitesResult withSites(Collection<Site> sites)
sites
- public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public ListSitesResult withNextToken(String nextToken)
nextToken
- public String toString()
toString
in class Object
Object.toString()
public ListSitesResult clone()