Class DescribePoliciesRequest

    • Constructor Detail

      • DescribePoliciesRequest

        public DescribePoliciesRequest()
    • Method Detail

      • setAutoScalingGroupName

        public void setAutoScalingGroupName​(String autoScalingGroupName)

        The name of the group.

        Parameters:
        autoScalingGroupName - The name of the group.
      • getAutoScalingGroupName

        public String getAutoScalingGroupName()

        The name of the group.

        Returns:
        The name of the group.
      • withAutoScalingGroupName

        public DescribePoliciesRequest withAutoScalingGroupName​(String autoScalingGroupName)

        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

        public List<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.

        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

        public void setPolicyNames​(Collection<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.

        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

        public DescribePoliciesRequest withPolicyNames​(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.

        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.

        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

        public DescribePoliciesRequest withPolicyNames​(Collection<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.

        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

        public List<String> getPolicyTypes()

        One or more policy types. Valid values are SimpleScaling and StepScaling.

        Returns:
        One or more policy types. Valid values are SimpleScaling and StepScaling.
      • setPolicyTypes

        public void setPolicyTypes​(Collection<String> policyTypes)

        One or more policy types. Valid values are SimpleScaling and StepScaling.

        Parameters:
        policyTypes - One or more policy types. Valid values are SimpleScaling and StepScaling.
      • withPolicyTypes

        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.

        Parameters:
        policyTypes - One or more policy types. Valid values are SimpleScaling and StepScaling.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withPolicyTypes

        public DescribePoliciesRequest withPolicyTypes​(Collection<String> policyTypes)

        One or more policy types. Valid values are SimpleScaling and StepScaling.

        Parameters:
        policyTypes - One or more policy types. Valid values are SimpleScaling and StepScaling.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setNextToken

        public void setNextToken​(String nextToken)

        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

        public String 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

        public DescribePoliciesRequest withNextToken​(String nextToken)

        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

        public void setMaxRecords​(Integer maxRecords)

        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

        public Integer 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

        public DescribePoliciesRequest withMaxRecords​(Integer maxRecords)

        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

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object