Package com.amazonaws.services.iot.model
Class ListPrincipalThingsRequest
- java.lang.Object
-
- com.amazonaws.AmazonWebServiceRequest
-
- com.amazonaws.services.iot.model.ListPrincipalThingsRequest
-
- All Implemented Interfaces:
ReadLimitInfo,Serializable,Cloneable
public class ListPrincipalThingsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the ListPrincipalThings operation.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
-
Constructor Summary
Constructors Constructor Description ListPrincipalThingsRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPrincipalThingsRequestclone()Creates a shallow clone of this request.booleanequals(Object obj)IntegergetMaxResults()The maximum number of principals to return.StringgetNextToken()A token used to retrieve the next value.StringgetPrincipal()The principal.inthashCode()voidsetMaxResults(Integer maxResults)The maximum number of principals to return.voidsetNextToken(String nextToken)A token used to retrieve the next value.voidsetPrincipal(String principal)The principal.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListPrincipalThingsRequestwithMaxResults(Integer maxResults)The maximum number of principals to return.ListPrincipalThingsRequestwithNextToken(String nextToken)A token used to retrieve the next value.ListPrincipalThingsRequestwithPrincipal(String principal)The principal.-
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
-
-
-
Method Detail
-
setNextToken
public void setNextToken(String nextToken)
A token used to retrieve the next value.
- Parameters:
nextToken- A token used to retrieve the next value.
-
getNextToken
public String getNextToken()
A token used to retrieve the next value.
- Returns:
- A token used to retrieve the next value.
-
withNextToken
public ListPrincipalThingsRequest withNextToken(String nextToken)
A token used to retrieve the next value.
- Parameters:
nextToken- A token used to retrieve the next value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxResults
public void setMaxResults(Integer maxResults)
The maximum number of principals to return.
- Parameters:
maxResults- The maximum number of principals to return.
-
getMaxResults
public Integer getMaxResults()
The maximum number of principals to return.
- Returns:
- The maximum number of principals to return.
-
withMaxResults
public ListPrincipalThingsRequest withMaxResults(Integer maxResults)
The maximum number of principals to return.
- Parameters:
maxResults- The maximum number of principals to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setPrincipal
public void setPrincipal(String principal)
The principal.
- Parameters:
principal- The principal.
-
getPrincipal
public String getPrincipal()
The principal.
- Returns:
- The principal.
-
withPrincipal
public ListPrincipalThingsRequest withPrincipal(String principal)
The principal.
- Parameters:
principal- The principal.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListPrincipalThingsRequest clone()
Description copied from class:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
Object.clone()
-
-