public class ListPrincipalThingsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
The input for the ListPrincipalThings operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
maxResults
The maximum number of principals to return.
|
private java.lang.String |
nextToken
A token used to retrieve the next value.
|
private java.lang.String |
principal
The principal.
|
NOOP
Constructor and Description |
---|
ListPrincipalThingsRequest() |
Modifier and Type | Method and Description |
---|---|
ListPrincipalThingsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getMaxResults()
The maximum number of principals to return.
|
java.lang.String |
getNextToken()
A token used to retrieve the next value.
|
java.lang.String |
getPrincipal()
The principal.
|
int |
hashCode() |
void |
setMaxResults(java.lang.Integer maxResults)
The maximum number of principals to return.
|
void |
setNextToken(java.lang.String nextToken)
A token used to retrieve the next value.
|
void |
setPrincipal(java.lang.String principal)
The principal.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPrincipalThingsRequest |
withMaxResults(java.lang.Integer maxResults)
The maximum number of principals to return.
|
ListPrincipalThingsRequest |
withNextToken(java.lang.String nextToken)
A token used to retrieve the next value.
|
ListPrincipalThingsRequest |
withPrincipal(java.lang.String principal)
The principal.
|
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
private java.lang.String nextToken
A token used to retrieve the next value.
private java.lang.Integer maxResults
The maximum number of principals to return.
private java.lang.String principal
The principal.
public void setNextToken(java.lang.String nextToken)
A token used to retrieve the next value.
nextToken
- A token used to retrieve the next value.public java.lang.String getNextToken()
A token used to retrieve the next value.
public ListPrincipalThingsRequest withNextToken(java.lang.String nextToken)
A token used to retrieve the next value.
nextToken
- A token used to retrieve the next value.public void setMaxResults(java.lang.Integer maxResults)
The maximum number of principals to return.
maxResults
- The maximum number of principals to return.public java.lang.Integer getMaxResults()
The maximum number of principals to return.
public ListPrincipalThingsRequest withMaxResults(java.lang.Integer maxResults)
The maximum number of principals to return.
maxResults
- The maximum number of principals to return.public void setPrincipal(java.lang.String principal)
The principal.
principal
- The principal.public java.lang.String getPrincipal()
The principal.
public ListPrincipalThingsRequest withPrincipal(java.lang.String principal)
The principal.
principal
- The principal.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListPrincipalThingsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()