public class DescribePoliciesRequest extends AmazonWebServiceRequest implements java.io.Serializable
DescribePolicies operation.
Returns descriptions of what each policy does. This action supports pagination. If the response includes a token, there are more records available.
To get the additional records, repeat the request with the response token as the NextToken parameter.
| コンストラクタと説明 |
|---|
DescribePoliciesRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
java.lang.Integer |
getMaxRecords()
The maximum number of policies that will be described with each call.
|
java.lang.String |
getNextToken()
A string that is used to mark the start of the next batch of returned
results for pagination.
|
java.util.List<java.lang.String> |
getPolicyNames()
A list of policy names or policy ARNs to be described.
|
int |
hashCode() |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setMaxRecords(java.lang.Integer maxRecords)
The maximum number of policies that will be described with each call.
|
void |
setNextToken(java.lang.String nextToken)
A string that is used to mark the start of the next batch of returned
results for pagination.
|
void |
setPolicyNames(java.util.Collection<java.lang.String> policyNames)
A list of policy names or policy ARNs to be described.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribePoliciesRequest |
withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the Auto Scaling group.
|
DescribePoliciesRequest |
withMaxRecords(java.lang.Integer maxRecords)
The maximum number of policies that will be described with each call.
|
DescribePoliciesRequest |
withNextToken(java.lang.String nextToken)
A string that is used to mark the start of the next batch of returned
results for pagination.
|
DescribePoliciesRequest |
withPolicyNames(java.util.Collection<java.lang.String> policyNames)
A list of policy names or policy ARNs to be described.
|
DescribePoliciesRequest |
withPolicyNames(java.lang.String... policyNames)
A list of policy names or policy ARNs to be described.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getAutoScalingGroupName()
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName - The name of the Auto Scaling group.public DescribePoliciesRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName - The name of the Auto Scaling group.public java.util.List<java.lang.String> getPolicyNames()
public void setPolicyNames(java.util.Collection<java.lang.String> policyNames)
policyNames - A list of policy names or policy ARNs to be described. If this list is
omitted, all policy names are described. If an auto scaling group name
is provided, the results are limited to that group. The list of
requested policy names cannot contain more than 50 items. If unknown
policy names are requested, they are ignored with no error.public DescribePoliciesRequest withPolicyNames(java.lang.String... policyNames)
Returns a reference to this object so that method calls can be chained together.
policyNames - A list of policy names or policy ARNs to be described. If this list is
omitted, all policy names are described. If an auto scaling group name
is provided, the results are limited to that group. The list of
requested policy names cannot contain more than 50 items. If unknown
policy names are requested, they are ignored with no error.public DescribePoliciesRequest withPolicyNames(java.util.Collection<java.lang.String> policyNames)
Returns a reference to this object so that method calls can be chained together.
policyNames - A list of policy names or policy ARNs to be described. If this list is
omitted, all policy names are described. If an auto scaling group name
is provided, the results are limited to that group. The list of
requested policy names cannot contain more than 50 items. If unknown
policy names are requested, they are ignored with no error.public java.lang.String getNextToken()
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
public void setNextToken(java.lang.String nextToken)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
nextToken - A string that is used to mark the start of the next batch of returned
results for pagination.public DescribePoliciesRequest withNextToken(java.lang.String nextToken)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
nextToken - A string that is used to mark the start of the next batch of returned
results for pagination.public java.lang.Integer getMaxRecords()
Constraints:
Range: 1 - 50
public void setMaxRecords(java.lang.Integer maxRecords)
Constraints:
Range: 1 - 50
maxRecords - The maximum number of policies that will be described with each call.public DescribePoliciesRequest withMaxRecords(java.lang.Integer maxRecords)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 50
maxRecords - The maximum number of policies that will be described with each call.public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object