Class DescribePoliciesRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
The name of the group.The maximum number of items to be returned with each call.The token for the next set of items to return.One or more policy names or policy ARNs to be described.One or more policy types.int
hashCode()
void
setAutoScalingGroupName
(String autoScalingGroupName) The name of the group.void
setMaxRecords
(Integer maxRecords) The maximum number of items to be returned with each call.void
setNextToken
(String nextToken) The token for the next set of items to return.void
setPolicyNames
(Collection<String> policyNames) One or more policy names or policy ARNs to be described.void
setPolicyTypes
(Collection<String> policyTypes) One or more policy types.toString()
Returns a string representation of this object; useful for testing and debugging.withAutoScalingGroupName
(String autoScalingGroupName) The name of the group.withMaxRecords
(Integer maxRecords) The maximum number of items to be returned with each call.withNextToken
(String nextToken) The token for the next set of items to return.withPolicyNames
(String... policyNames) One or more policy names or policy ARNs to be described.withPolicyNames
(Collection<String> policyNames) One or more policy names or policy ARNs to be described.withPolicyTypes
(String... policyTypes) One or more policy types.withPolicyTypes
(Collection<String> policyTypes) One or more policy types.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
DescribePoliciesRequest
public DescribePoliciesRequest()
-
-
Method Details
-
setAutoScalingGroupName
The name of the group.
- Parameters:
autoScalingGroupName
- The name of the group.
-
getAutoScalingGroupName
The name of the group.
- Returns:
- The name of the group.
-
withAutoScalingGroupName
The name of the group.
- Parameters:
autoScalingGroupName
- The name of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getPolicyNames
One or more policy names or policy ARNs to be described. If you omit this list, all policy names are described. If an group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.
- Returns:
- One or more policy names or policy ARNs to be described. If you omit this list, all policy names are described. If an group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.
-
setPolicyNames
One or more policy names or policy ARNs to be described. If you omit this list, all policy names are described. If an group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.
- Parameters:
policyNames
- One or more policy names or policy ARNs to be described. If you omit this list, all policy names are described. If an group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.
-
withPolicyNames
One or more policy names or policy ARNs to be described. If you omit this list, all policy names are described. If an group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.
NOTE: This method appends the values to the existing list (if any). Use
setPolicyNames(java.util.Collection)
orwithPolicyNames(java.util.Collection)
if you want to override the existing values.- Parameters:
policyNames
- One or more policy names or policy ARNs to be described. If you omit this list, all policy names are described. If an group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPolicyNames
One or more policy names or policy ARNs to be described. If you omit this list, all policy names are described. If an group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.
- Parameters:
policyNames
- One or more policy names or policy ARNs to be described. If you omit this list, all policy names are described. If an group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getPolicyTypes
One or more policy types. Valid values are
SimpleScaling
andStepScaling
.- Returns:
- One or more policy types. Valid values are
SimpleScaling
andStepScaling
.
-
setPolicyTypes
One or more policy types. Valid values are
SimpleScaling
andStepScaling
.- Parameters:
policyTypes
- One or more policy types. Valid values areSimpleScaling
andStepScaling
.
-
withPolicyTypes
One or more policy types. Valid values are
SimpleScaling
andStepScaling
.NOTE: This method appends the values to the existing list (if any). Use
setPolicyTypes(java.util.Collection)
orwithPolicyTypes(java.util.Collection)
if you want to override the existing values.- Parameters:
policyTypes
- One or more policy types. Valid values areSimpleScaling
andStepScaling
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withPolicyTypes
One or more policy types. Valid values are
SimpleScaling
andStepScaling
.- Parameters:
policyTypes
- One or more policy types. Valid values areSimpleScaling
andStepScaling
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)
-
getNextToken
The token for the next set of items to return. (You received this token from a previous call.)
- Returns:
- The token for the next set of items to return. (You received this token from a previous call.)
-
withNextToken
The token for the next set of items to return. (You received this token from a previous call.)
- Parameters:
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxRecords
The maximum number of items to be returned with each call.
- Parameters:
maxRecords
- The maximum number of items to be returned with each call.
-
getMaxRecords
The maximum number of items to be returned with each call.
- Returns:
- The maximum number of items to be returned with each call.
-
withMaxRecords
The maximum number of items to be returned with each call.
- Parameters:
maxRecords
- The maximum number of items to be returned with each call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-