public class ListPolicyPrincipalsRequest extends AmazonWebServiceRequest implements java.io.Serializable
Lists the principals associated with the specified policy.
Note: This API is deprecated. Please use ListTargetsForPolicy instead.
Constructor and Description |
---|
ListPolicyPrincipalsRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getAscendingOrder()
Specifies the order for results.
|
java.lang.String |
getMarker()
The marker for the next set of results.
|
java.lang.Integer |
getPageSize()
The result page size.
|
java.lang.String |
getPolicyName()
The policy name.
|
int |
hashCode() |
java.lang.Boolean |
isAscendingOrder()
Specifies the order for results.
|
void |
setAscendingOrder(java.lang.Boolean ascendingOrder)
Specifies the order for results.
|
void |
setMarker(java.lang.String marker)
The marker for the next set of results.
|
void |
setPageSize(java.lang.Integer pageSize)
The result page size.
|
void |
setPolicyName(java.lang.String policyName)
The policy name.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPolicyPrincipalsRequest |
withAscendingOrder(java.lang.Boolean ascendingOrder)
Specifies the order for results.
|
ListPolicyPrincipalsRequest |
withMarker(java.lang.String marker)
The marker for the next set of results.
|
ListPolicyPrincipalsRequest |
withPageSize(java.lang.Integer pageSize)
The result page size.
|
ListPolicyPrincipalsRequest |
withPolicyName(java.lang.String policyName)
The policy name.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getPolicyName()
The policy name.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
The policy name.
public void setPolicyName(java.lang.String policyName)
The policy name.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName
- The policy name.
public ListPolicyPrincipalsRequest withPolicyName(java.lang.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 java.lang.String getMarker()
The marker for the next set of results.
Constraints:
Length: - 1024
Pattern: [A-Za-z0-9+/]+={0,2}
The marker for the next set of results.
public void setMarker(java.lang.String marker)
The marker for the next set of results.
Constraints:
Length: - 1024
Pattern: [A-Za-z0-9+/]+={0,2}
marker
- The marker for the next set of results.
public ListPolicyPrincipalsRequest withMarker(java.lang.String marker)
The marker for the next set of results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 1024
Pattern: [A-Za-z0-9+/]+={0,2}
marker
- The marker for the next set of results.
public java.lang.Integer getPageSize()
The result page size.
Constraints:
Range: 1 - 250
The result page size.
public void setPageSize(java.lang.Integer pageSize)
The result page size.
Constraints:
Range: 1 - 250
pageSize
- The result page size.
public ListPolicyPrincipalsRequest withPageSize(java.lang.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 java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.