@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDevicesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetDevicesRequest() |
Modifier and Type | Method and Description |
---|---|
GetDevicesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<String> |
getDeviceIds()
One or more device IDs.
|
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.
|
String |
getSiteId()
The ID of the site.
|
int |
hashCode() |
void |
setDeviceIds(Collection<String> deviceIds)
One or more device IDs.
|
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 |
setSiteId(String siteId)
The ID of the site.
|
String |
toString()
Returns a string representation of this object.
|
GetDevicesRequest |
withDeviceIds(Collection<String> deviceIds)
One or more device IDs.
|
GetDevicesRequest |
withDeviceIds(String... deviceIds)
One or more device IDs.
|
GetDevicesRequest |
withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
|
GetDevicesRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return.
|
GetDevicesRequest |
withNextToken(String nextToken)
The token for the next page of results.
|
GetDevicesRequest |
withSiteId(String siteId)
The ID of the site.
|
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, withSdkRequestTimeout
public 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 GetDevicesRequest withGlobalNetworkId(String globalNetworkId)
The ID of the global network.
globalNetworkId
- The ID of the global network.public List<String> getDeviceIds()
One or more device IDs. The maximum is 10.
public void setDeviceIds(Collection<String> deviceIds)
One or more device IDs. The maximum is 10.
deviceIds
- One or more device IDs. The maximum is 10.public GetDevicesRequest withDeviceIds(String... deviceIds)
One or more device IDs. The maximum is 10.
NOTE: This method appends the values to the existing list (if any). Use
setDeviceIds(java.util.Collection)
or withDeviceIds(java.util.Collection)
if you want to
override the existing values.
deviceIds
- One or more device IDs. The maximum is 10.public GetDevicesRequest withDeviceIds(Collection<String> deviceIds)
One or more device IDs. The maximum is 10.
deviceIds
- One or more device IDs. The maximum is 10.public void setSiteId(String siteId)
The ID of the site.
siteId
- The ID of the site.public String getSiteId()
The ID of the site.
public GetDevicesRequest withSiteId(String siteId)
The ID of the site.
siteId
- The ID of the site.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 GetDevicesRequest 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 GetDevicesRequest 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 GetDevicesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()