@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSitesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSitesResult() |
Modifier and Type | Method and Description |
---|---|
GetSitesResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The token for the next page of results.
|
List<Site> |
getSites()
The sites.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setSites(Collection<Site> sites)
The sites.
|
String |
toString()
Returns a string representation of this object.
|
GetSitesResult |
withNextToken(String nextToken)
The token for the next page of results.
|
GetSitesResult |
withSites(Collection<Site> sites)
The sites.
|
GetSitesResult |
withSites(Site... sites)
The sites.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSites(Collection<Site> sites)
The sites.
sites
- The sites.public GetSitesResult withSites(Site... sites)
The 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
- The sites.public GetSitesResult withSites(Collection<Site> sites)
The sites.
sites
- The sites.public void setNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String getNextToken()
The token for the next page of results.
public GetSitesResult withNextToken(String nextToken)
The token for the next page of results.
nextToken
- The token for the next page of results.public String toString()
toString
in class Object
Object.toString()
public GetSitesResult clone()