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 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.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getNextToken()
A token used to retrieve the next value.
A token used to retrieve the next value.
public void setNextToken(String nextToken)
A token used to retrieve the next value.
nextToken - A token used to retrieve the next value.
public ListPrincipalThingsRequest withNextToken(String nextToken)
A token used to retrieve the next value.
Returns a reference to this object so that method calls can be chained together.
nextToken - A token used to retrieve the next value.
public Integer getMaxResults()
The maximum number of principals to return.
Constraints:
Range: 1 - 10000
The maximum number of principals to return.
public void setMaxResults(Integer maxResults)
The maximum number of principals to return.
Constraints:
Range: 1 - 10000
maxResults - The maximum number of principals to return.
public ListPrincipalThingsRequest withMaxResults(Integer maxResults)
The maximum number of principals to return.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 10000
maxResults - The maximum number of principals to return.
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.