public class ListPrincipalThingsRequest extends AmazonWebServiceRequest implements Serializable
Lists the things associated with the specified principal.
| 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 for the next set of results, or null if there are no
additional 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 for the next set of results, or null if there are no
additional 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 for the next set of results, or null if there are no
additional results.
|
ListPrincipalThingsRequest |
withPrincipal(String principal)
The principal.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getNextToken()
The token for the next set of results, or null if there are no additional results.
The token for the next set of results, or null if there are no additional results.
public void setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken - The token for the next set of results, or null if there are no additional results.
public ListPrincipalThingsRequest withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token for the next set of results, or null if there are no additional results.
public Integer getMaxResults()
The maximum number of results to return in this operation.
Constraints:
Range: 1 - 10000
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 - 10000
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 - 10000
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 © 2017. All rights reserved.