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 ListPrincipalThingsRequest
clone()
Creates a shallow clone of this request.boolean
equals(Object obj)
Integer
getMaxResults()
The maximum number of principals to return.String
getNextToken()
A token used to retrieve the next value.String
getPrincipal()
The principal.int
hashCode()
void
setMaxResults(Integer maxResults)
The maximum number of principals to return.void
setNextToken(String nextToken)
A token used to retrieve the next value.void
setPrincipal(String principal)
The principal.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListPrincipalThingsRequest
withMaxResults(Integer maxResults)
The maximum number of principals to return.ListPrincipalThingsRequest
withNextToken(String nextToken)
A token used to retrieve the next value.ListPrincipalThingsRequest
withPrincipal(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListPrincipalThingsRequest clone()
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
Object.clone()
-
-