public class ListTargetsForPolicyRequest extends AmazonWebServiceRequest implements Serializable
List targets for the specified policy.
| Constructor and Description |
|---|
ListTargetsForPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getMarker()
A marker used to get the next set of results.
|
Integer |
getPageSize()
The maximum number of results to return at one time.
|
String |
getPolicyName()
The policy name.
|
int |
hashCode() |
void |
setMarker(String marker)
A marker used to get the next set of results.
|
void |
setPageSize(Integer pageSize)
The maximum number of results to return at one time.
|
void |
setPolicyName(String policyName)
The policy name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTargetsForPolicyRequest |
withMarker(String marker)
A marker used to get the next set of results.
|
ListTargetsForPolicyRequest |
withPageSize(Integer pageSize)
The maximum number of results to return at one time.
|
ListTargetsForPolicyRequest |
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 ListTargetsForPolicyRequest 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()
A marker used to get the next set of results.
Constraints:
Pattern: [A-Za-z0-9+/]+={0,2}
A marker used to get the next set of results.
public void setMarker(String marker)
A marker used to get the next set of results.
Constraints:
Pattern: [A-Za-z0-9+/]+={0,2}
marker - A marker used to get the next set of results.
public ListTargetsForPolicyRequest withMarker(String marker)
A marker used to get the next set of results.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [A-Za-z0-9+/]+={0,2}
marker - A marker used to get the next set of results.
public Integer getPageSize()
The maximum number of results to return at one time.
Constraints:
Range: 1 - 250
The maximum number of results to return at one time.
public void setPageSize(Integer pageSize)
The maximum number of results to return at one time.
Constraints:
Range: 1 - 250
pageSize - The maximum number of results to return at one time.
public ListTargetsForPolicyRequest withPageSize(Integer pageSize)
The maximum number of results to return at one time.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 250
pageSize - The maximum number of results to return at one time.
public String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.