@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSitesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
GetSitesRequest() |
| Modifier and Type | Method and Description |
|---|---|
GetSitesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getGlobalNetworkId()
The ID of the global network.
|
Integer |
getMaxResults()
The maximum number of results to return.
|
String |
getNextToken()
The token for the next page of results.
|
List<String> |
getSiteIds()
One or more site IDs.
|
int |
hashCode() |
void |
setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
void |
setMaxResults(Integer maxResults)
The maximum number of results to return.
|
void |
setNextToken(String nextToken)
The token for the next page of results.
|
void |
setSiteIds(Collection<String> siteIds)
One or more site IDs.
|
String |
toString()
Returns a string representation of this object.
|
GetSitesRequest |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
GetSitesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return.
|
GetSitesRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
GetSitesRequest |
withSiteIds(Collection<String> siteIds)
One or more site IDs.
|
GetSitesRequest |
withSiteIds(String... siteIds)
One or more site IDs.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId - The ID of the global network.public String getGlobalNetworkId()
The ID of the global network.
public GetSitesRequest withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId - The ID of the global network.public List<String> getSiteIds()
One or more site IDs. The maximum is 10.
public void setSiteIds(Collection<String> siteIds)
One or more site IDs. The maximum is 10.
siteIds - One or more site IDs. The maximum is 10.public GetSitesRequest withSiteIds(String... siteIds)
One or more site IDs. The maximum is 10.
NOTE: This method appends the values to the existing list (if any). Use
setSiteIds(java.util.Collection) or withSiteIds(java.util.Collection) if you want to override
the existing values.
siteIds - One or more site IDs. The maximum is 10.public GetSitesRequest withSiteIds(Collection<String> siteIds)
One or more site IDs. The maximum is 10.
siteIds - One or more site IDs. The maximum is 10.public void setMaxResults(Integer maxResults)
The maximum number of results to return.
maxResults - The maximum number of results to return.public Integer getMaxResults()
The maximum number of results to return.
public GetSitesRequest withMaxResults(Integer maxResults)
The maximum number of results to return.
maxResults - The maximum number of results to return.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 GetSitesRequest 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 ObjectObject.toString()public GetSitesRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()