@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribePoliciesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DescribePoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
DescribePoliciesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the group.
|
Integer |
getMaxRecords()
The maximum number of items to be returned with each call.
|
String |
getNextToken()
The token for the next set of items to return.
|
List<String> |
getPolicyNames()
One or more policy names or policy ARNs to be described.
|
List<String> |
getPolicyTypes()
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DescribePoliciesRequest |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
|
DescribePoliciesRequest |
withMaxRecords(Integer maxRecords)
The maximum number of items to be returned with each call.
|
DescribePoliciesRequest |
withNextToken(String nextToken)
The token for the next set of items to return.
|
DescribePoliciesRequest |
withPolicyNames(Collection<String> policyNames)
One or more policy names or policy ARNs to be described.
|
DescribePoliciesRequest |
withPolicyNames(String... policyNames)
One or more policy names or policy ARNs to be described.
|
DescribePoliciesRequest |
withPolicyTypes(Collection<String> policyTypes)
One or more policy types.
|
DescribePoliciesRequest |
withPolicyTypes(String... policyTypes)
One or more policy types.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
autoScalingGroupName
- The name of the group.public String getAutoScalingGroupName()
The name of the group.
public DescribePoliciesRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the group.
autoScalingGroupName
- The name of the group.public List<String> getPolicyNames()
One or more policy names or policy ARNs to be described. If you omit this parameter, 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.
public void setPolicyNames(Collection<String> policyNames)
One or more policy names or policy ARNs to be described. If you omit this parameter, 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.
policyNames
- One or more policy names or policy ARNs to be described. If you omit this parameter, 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.public DescribePoliciesRequest withPolicyNames(String... policyNames)
One or more policy names or policy ARNs to be described. If you omit this parameter, 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)
or withPolicyNames(java.util.Collection)
if you want to
override the existing values.
policyNames
- One or more policy names or policy ARNs to be described. If you omit this parameter, 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.public DescribePoliciesRequest withPolicyNames(Collection<String> policyNames)
One or more policy names or policy ARNs to be described. If you omit this parameter, 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.
policyNames
- One or more policy names or policy ARNs to be described. If you omit this parameter, 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.public List<String> getPolicyTypes()
One or more policy types. Valid values are SimpleScaling
and StepScaling
.
SimpleScaling
and StepScaling
.public void setPolicyTypes(Collection<String> policyTypes)
One or more policy types. Valid values are SimpleScaling
and StepScaling
.
policyTypes
- One or more policy types. Valid values are SimpleScaling
and StepScaling
.public DescribePoliciesRequest withPolicyTypes(String... policyTypes)
One or more policy types. Valid values are SimpleScaling
and StepScaling
.
NOTE: This method appends the values to the existing list (if any). Use
setPolicyTypes(java.util.Collection)
or withPolicyTypes(java.util.Collection)
if you want to
override the existing values.
policyTypes
- One or more policy types. Valid values are SimpleScaling
and StepScaling
.public DescribePoliciesRequest withPolicyTypes(Collection<String> policyTypes)
One or more policy types. Valid values are SimpleScaling
and StepScaling
.
policyTypes
- One or more policy types. Valid values are SimpleScaling
and StepScaling
.public void setNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
public DescribePoliciesRequest withNextToken(String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)public void setMaxRecords(Integer maxRecords)
The maximum number of items to be returned with each call. The default value is 50 and the maximum value is 100.
maxRecords
- The maximum number of items to be returned with each call. The default value is 50 and the maximum value
is 100.public Integer getMaxRecords()
The maximum number of items to be returned with each call. The default value is 50 and the maximum value is 100.
public DescribePoliciesRequest withMaxRecords(Integer maxRecords)
The maximum number of items to be returned with each call. The default value is 50 and the maximum value is 100.
maxRecords
- The maximum number of items to be returned with each call. The default value is 50 and the maximum value
is 100.public String toString()
toString
in class Object
Object.toString()
public DescribePoliciesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.