public class ListPolicyPrincipalsRequest extends AmazonWebServiceRequest implements Serializable
Lists the principals associated with the specified policy.
| Constructor and Description |
|---|
ListPolicyPrincipalsRequest() |
| 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 |
getPolicyName()
The policy name.
|
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 |
setPolicyName(String policyName)
The policy name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPolicyPrincipalsRequest |
withAscendingOrder(Boolean ascendingOrder)
Specifies the order for results.
|
ListPolicyPrincipalsRequest |
withMarker(String marker)
The marker for the next set of results.
|
ListPolicyPrincipalsRequest |
withPageSize(Integer pageSize)
The result page size.
|
ListPolicyPrincipalsRequest |
withPolicyName(String policyName)
The policy name.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getPolicyName()
The policy name.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
The policy name.
public void setPolicyName(String policyName)
The policy name.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The policy name.
public ListPolicyPrincipalsRequest withPolicyName(String policyName)
The policy name.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The policy name.
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 ListPolicyPrincipalsRequest 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 ListPolicyPrincipalsRequest 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, the results are returned in ascending creation order.
Specifies the order for results. If true, the results are returned in ascending creation order.
public Boolean getAscendingOrder()
Specifies the order for results. If true, the results are returned in ascending creation order.
Specifies the order for results. If true, the results are returned in ascending creation order.
public void setAscendingOrder(Boolean ascendingOrder)
Specifies the order for results. If true, the results are returned in ascending creation order.
ascendingOrder - Specifies the order for results. If true, the results are returned in ascending creation order.
public ListPolicyPrincipalsRequest withAscendingOrder(Boolean ascendingOrder)
Specifies the order for results. If true, the 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, the results are returned in ascending creation order.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.