public class ListPrincipalPoliciesRequest extends AmazonWebServiceRequest implements Serializable
ListPrincipalPolicies operation.
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.
|
getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic String getPrincipal()
public void setPrincipal(String principal)
principal - The principal.public ListPrincipalPoliciesRequest withPrincipal(String principal)
Returns a reference to this object so that method calls can be chained together.
principal - The principal.public String getMarker()
public void setMarker(String marker)
marker - The marker for the next set of results.public ListPrincipalPoliciesRequest withMarker(String marker)
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()
Constraints:
Range: 1 - 250
public void setPageSize(Integer pageSize)
Constraints:
Range: 1 - 250
pageSize - The result page size.public ListPrincipalPoliciesRequest withPageSize(Integer pageSize)
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()
public void setAscendingOrder(Boolean ascendingOrder)
ascendingOrder - Specifies the order for results. If true, results are returned in
ascending creation order.public ListPrincipalPoliciesRequest withAscendingOrder(Boolean ascendingOrder)
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 Boolean getAscendingOrder()
public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.