@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListPolicyGenerationsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListPolicyGenerationsRequest() |
Modifier and Type | Method and Description |
---|---|
ListPolicyGenerationsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of results to return in the response.
|
String |
getNextToken()
A token used for pagination of results returned.
|
String |
getPrincipalArn()
The ARN of the IAM entity (user or role) for which you are generating a policy.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
void |
setNextToken(String nextToken)
A token used for pagination of results returned.
|
void |
setPrincipalArn(String principalArn)
The ARN of the IAM entity (user or role) for which you are generating a policy.
|
String |
toString()
Returns a string representation of this object.
|
ListPolicyGenerationsRequest |
withMaxResults(Integer maxResults)
The maximum number of results to return in the response.
|
ListPolicyGenerationsRequest |
withNextToken(String nextToken)
A token used for pagination of results returned.
|
ListPolicyGenerationsRequest |
withPrincipalArn(String principalArn)
The ARN of the IAM entity (user or role) for which you are generating a policy.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setMaxResults(Integer maxResults)
The maximum number of results to return in the response.
maxResults
- The maximum number of results to return in the response.public Integer getMaxResults()
The maximum number of results to return in the response.
public ListPolicyGenerationsRequest withMaxResults(Integer maxResults)
The maximum number of results to return in the response.
maxResults
- The maximum number of results to return in the response.public void setNextToken(String nextToken)
A token used for pagination of results returned.
nextToken
- A token used for pagination of results returned.public String getNextToken()
A token used for pagination of results returned.
public ListPolicyGenerationsRequest withNextToken(String nextToken)
A token used for pagination of results returned.
nextToken
- A token used for pagination of results returned.public void setPrincipalArn(String principalArn)
The ARN of the IAM entity (user or role) for which you are generating a policy. Use this with
ListGeneratedPolicies
to filter the results to only include results for a specific principal.
principalArn
- The ARN of the IAM entity (user or role) for which you are generating a policy. Use this with
ListGeneratedPolicies
to filter the results to only include results for a specific principal.public String getPrincipalArn()
The ARN of the IAM entity (user or role) for which you are generating a policy. Use this with
ListGeneratedPolicies
to filter the results to only include results for a specific principal.
ListGeneratedPolicies
to filter the results to only include results for a specific
principal.public ListPolicyGenerationsRequest withPrincipalArn(String principalArn)
The ARN of the IAM entity (user or role) for which you are generating a policy. Use this with
ListGeneratedPolicies
to filter the results to only include results for a specific principal.
principalArn
- The ARN of the IAM entity (user or role) for which you are generating a policy. Use this with
ListGeneratedPolicies
to filter the results to only include results for a specific principal.public String toString()
toString
in class Object
Object.toString()
public ListPolicyGenerationsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()