JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.autoscaling.model

Class DescribeAutoScalingInstancesRequest

    • Constructor Detail

      • DescribeAutoScalingInstancesRequest

        public DescribeAutoScalingInstancesRequest()
    • Method Detail

      • getInstanceIds

        public List<String> getInstanceIds()

        The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.

        Array Members: Maximum number of 50 items.

        Returns:
        The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.

        Array Members: Maximum number of 50 items.

      • setInstanceIds

        public void setInstanceIds(Collection<String> instanceIds)

        The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.

        Array Members: Maximum number of 50 items.

        Parameters:
        instanceIds - The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.

        Array Members: Maximum number of 50 items.

      • withInstanceIds

        public DescribeAutoScalingInstancesRequest withInstanceIds(String... instanceIds)

        The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.

        Array Members: Maximum number of 50 items.

        NOTE: This method appends the values to the existing list (if any). Use setInstanceIds(java.util.Collection) or withInstanceIds(java.util.Collection) if you want to override the existing values.

        Parameters:
        instanceIds - The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.

        Array Members: Maximum number of 50 items.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • withInstanceIds

        public DescribeAutoScalingInstancesRequest withInstanceIds(Collection<String> instanceIds)

        The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.

        Array Members: Maximum number of 50 items.

        Parameters:
        instanceIds - The IDs of the instances. If you omit this property, all Auto Scaling instances are described. If you specify an ID that does not exist, it is ignored with no error.

        Array Members: Maximum number of 50 items.

        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 return with this call. The default value is 50 and the maximum value is 50.

        Parameters:
        maxRecords - The maximum number of items to return with this call. The default value is 50 and the maximum value is 50.
      • getMaxRecords

        public Integer getMaxRecords()

        The maximum number of items to return with this call. The default value is 50 and the maximum value is 50.

        Returns:
        The maximum number of items to return with this call. The default value is 50 and the maximum value is 50.
      • withMaxRecords

        public DescribeAutoScalingInstancesRequest withMaxRecords(Integer maxRecords)

        The maximum number of items to return with this call. The default value is 50 and the maximum value is 50.

        Parameters:
        maxRecords - The maximum number of items to return with this call. The default value is 50 and the maximum value is 50.
        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 DescribeAutoScalingInstancesRequest 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.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /