public class DescribePoliciesRequest extends AmazonWebServiceRequest implements java.io.Serializable
Describes the policies for the specified Auto Scaling group.
Constructor and Description |
---|
DescribePoliciesRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAutoScalingGroupName()
The name of the group.
|
java.lang.Integer |
getMaxRecords()
The maximum number of items to be returned with each call.
|
java.lang.String |
getNextToken()
The token for the next set of items to return.
|
java.util.List<java.lang.String> |
getPolicyNames()
One or more policy names or policy ARNs to be described.
|
java.util.List<java.lang.String> |
getPolicyTypes()
One or more policy types.
|
int |
hashCode() |
void |
setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
|
void |
setMaxRecords(java.lang.Integer maxRecords)
The maximum number of items to be returned with each call.
|
void |
setNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
void |
setPolicyNames(java.util.Collection<java.lang.String> policyNames)
One or more policy names or policy ARNs to be described.
|
void |
setPolicyTypes(java.util.Collection<java.lang.String> policyTypes)
One or more policy types.
|
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 group.
|
DescribePoliciesRequest |
withMaxRecords(java.lang.Integer maxRecords)
The maximum number of items to be returned with each call.
|
DescribePoliciesRequest |
withNextToken(java.lang.String nextToken)
The token for the next set of items to return.
|
DescribePoliciesRequest |
withPolicyNames(java.util.Collection<java.lang.String> policyNames)
One or more policy names or policy ARNs to be described.
|
DescribePoliciesRequest |
withPolicyNames(java.lang.String... policyNames)
One or more policy names or policy ARNs to be described.
|
DescribePoliciesRequest |
withPolicyTypes(java.util.Collection<java.lang.String> policyTypes)
One or more policy types.
|
DescribePoliciesRequest |
withPolicyTypes(java.lang.String... policyTypes)
One or more policy types.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getAutoScalingGroupName()
The name of the group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
The name of the group.
public void setAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
Constraints:
Length: 1 - 1600
Pattern: [ --�𐀀-\r\n\t]*
autoScalingGroupName
- The name of the group.
public DescribePoliciesRequest withAutoScalingGroupName(java.lang.String autoScalingGroupName)
The name of the group.
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 group.
public java.util.List<java.lang.String> 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.
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.
public void setPolicyNames(java.util.Collection<java.lang.String> 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.
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.
public DescribePoliciesRequest withPolicyNames(java.lang.String... 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 a reference to this object so that method calls can be chained together.
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.
public DescribePoliciesRequest withPolicyNames(java.util.Collection<java.lang.String> 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 a reference to this object so that method calls can be chained together.
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.
public java.util.List<java.lang.String> getPolicyTypes()
One or more policy types. Valid values are SimpleScaling
and
StepScaling
.
One or more policy types. Valid values are
SimpleScaling
and StepScaling
.
public void setPolicyTypes(java.util.Collection<java.lang.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(java.lang.String... policyTypes)
One or more policy types. Valid values are SimpleScaling
and
StepScaling
.
Returns a reference to this object so that method calls can be chained together.
policyTypes
-
One or more policy types. Valid values are
SimpleScaling
and StepScaling
.
public DescribePoliciesRequest withPolicyTypes(java.util.Collection<java.lang.String> policyTypes)
One or more policy types. Valid values are SimpleScaling
and
StepScaling
.
Returns a reference to this object so that method calls can be chained together.
policyTypes
-
One or more policy types. Valid values are
SimpleScaling
and StepScaling
.
public java.lang.String getNextToken()
The token for the next set of items to return. (You received this token from a previous call.)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
The token for the next set of items to return. (You received this token from a previous call.)
public void setNextToken(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)
public DescribePoliciesRequest withNextToken(java.lang.String nextToken)
The token for the next set of items to return. (You received this token from a previous call.)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [ --�𐀀-\r\n\t]*
nextToken
- The token for the next set of items to return. (You received this token from a previous call.)
public java.lang.Integer getMaxRecords()
The maximum number of items to be returned with each call.
The maximum number of items to be returned with each call.
public void setMaxRecords(java.lang.Integer maxRecords)
The maximum number of items to be returned with each call.
maxRecords
- The maximum number of items to be returned with each call.
public DescribePoliciesRequest withMaxRecords(java.lang.Integer maxRecords)
The maximum number of items to be returned with each call.
Returns a reference to this object so that method calls can be chained together.
maxRecords
- The maximum number of items to be returned with each call.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.