public class ListPrincipalThingsRequest extends AmazonWebServiceRequest implements Serializable
Lists the things associated with the specified principal. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
| Constructor and Description |
|---|
ListPrincipalThingsRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return in this operation.
|
String |
getNextToken()
The token to retrieve the next set of results.
|
String |
getPrincipal()
The principal.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in this operation.
|
void |
setNextToken(String nextToken)
The token to retrieve the next set of results.
|
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 results to return in this operation.
|
ListPrincipalThingsRequest |
withNextToken(String nextToken)
The token to retrieve the next set of results.
|
ListPrincipalThingsRequest |
withPrincipal(String principal)
The principal.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getNextToken()
The token to retrieve the next set of results.
The token to retrieve the next set of results.
public void setNextToken(String nextToken)
The token to retrieve the next set of results.
nextToken - The token to retrieve the next set of results.
public ListPrincipalThingsRequest withNextToken(String nextToken)
The token to retrieve the next set of results.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token to retrieve the next set of results.
public Integer getMaxResults()
The maximum number of results to return in this operation.
Constraints:
Range: 1 - 250
The maximum number of results to return in this operation.
public void setMaxResults(Integer maxResults)
The maximum number of results to return in this operation.
Constraints:
Range: 1 - 250
maxResults - The maximum number of results to return in this operation.
public ListPrincipalThingsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in this operation.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 250
maxResults - The maximum number of results to return in this operation.
public String getPrincipal()
The principal.
The principal.
public void setPrincipal(String principal)
The principal.
principal - The principal.
public ListPrincipalThingsRequest withPrincipal(String principal)
The principal.
Returns a reference to this object so that method calls can be chained together.
principal - The principal.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.