public class ListPrincipalPoliciesRequest extends AmazonWebServiceRequest implements Serializable
Lists the policies attached to the specified principal. If you use an Cognito identity, the ID must be in AmazonCognito Identity format.
| Constructor and Description |
|---|
ListPrincipalPoliciesRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getAscendingOrder()
Specifies the order for results.
|
String |
getMarker()
The marker for the next set of results.
|
Integer |
getPageSize()
The result page size.
|
String |
getPrincipal()
The principal.
|
int |
hashCode() |
Boolean |
isAscendingOrder()
Specifies the order for results.
|
void |
setAscendingOrder(Boolean ascendingOrder)
Specifies the order for results.
|
void |
setMarker(String marker)
The marker for the next set of results.
|
void |
setPageSize(Integer pageSize)
The result page size.
|
void |
setPrincipal(String principal)
The principal.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPrincipalPoliciesRequest |
withAscendingOrder(Boolean ascendingOrder)
Specifies the order for results.
|
ListPrincipalPoliciesRequest |
withMarker(String marker)
The marker for the next set of results.
|
ListPrincipalPoliciesRequest |
withPageSize(Integer pageSize)
The result page size.
|
ListPrincipalPoliciesRequest |
withPrincipal(String principal)
The principal.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getPrincipal()
The principal.
The principal.
public void setPrincipal(String principal)
The principal.
principal - The principal.
public ListPrincipalPoliciesRequest withPrincipal(String principal)
The principal.
Returns a reference to this object so that method calls can be chained together.
principal - The principal.
public String getMarker()
The marker for the next set of results.
The marker for the next set of results.
public void setMarker(String marker)
The marker for the next set of results.
marker - The marker for the next set of results.
public ListPrincipalPoliciesRequest withMarker(String marker)
The marker for the next set of results.
Returns a reference to this object so that method calls can be chained together.
marker - The marker for the next set of results.
public Integer getPageSize()
The result page size.
Constraints:
Range: 1 - 250
The result page size.
public void setPageSize(Integer pageSize)
The result page size.
Constraints:
Range: 1 - 250
pageSize - The result page size.
public ListPrincipalPoliciesRequest withPageSize(Integer pageSize)
The result page size.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 250
pageSize - The result page size.
public Boolean isAscendingOrder()
Specifies the order for results. If true, results are returned in ascending creation order.
Specifies the order for results. If true, results are returned in ascending creation order.
public Boolean getAscendingOrder()
Specifies the order for results. If true, results are returned in ascending creation order.
Specifies the order for results. If true, results are returned in ascending creation order.
public void setAscendingOrder(Boolean ascendingOrder)
Specifies the order for results. If true, results are returned in ascending creation order.
ascendingOrder - Specifies the order for results. If true, results are returned in ascending creation order.
public ListPrincipalPoliciesRequest withAscendingOrder(Boolean ascendingOrder)
Specifies the order for results. If true, results are returned in ascending creation order.
Returns a reference to this object so that method calls can be chained together.
ascendingOrder - Specifies the order for results. If true, results are returned in ascending creation order.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.