@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() |
boolean |
equals(Object obj) |
String |
getAutoScalingGroupName()
The name of the Auto Scaling 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()
The names of one or more policies.
|
List<String> |
getPolicyTypes()
One or more policy types.
|
int |
hashCode() |
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling 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)
The names of one or more policies.
|
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 Auto Scaling 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)
The names of one or more policies.
|
DescribePoliciesRequest |
withPolicyNames(String... policyNames)
The names of one or more policies.
|
DescribePoliciesRequest |
withPolicyTypes(Collection<String> policyTypes)
One or more policy types.
|
DescribePoliciesRequest |
withPolicyTypes(String... policyTypes)
One or more policy types.
|
addHandlerContext, copyBaseTo, 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 Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public String getAutoScalingGroupName()
The name of the Auto Scaling group.
public DescribePoliciesRequest withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public List<String> getPolicyNames()
The names of one or more policies. If you omit this parameter, all policies 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)
The names of one or more policies. If you omit this parameter, all policies 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
- The names of one or more policies. If you omit this parameter, all policies 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)
The names of one or more policies. If you omit this parameter, all policies 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
- The names of one or more policies. If you omit this parameter, all policies 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)
The names of one or more policies. If you omit this parameter, all policies 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
- The names of one or more policies. If you omit this parameter, all policies 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()
clone
in class AmazonWebServiceRequest
Copyright © 2018. All rights reserved.