Class DescribeInstancesHealthRequest

    • Constructor Detail

      • DescribeInstancesHealthRequest

        public DescribeInstancesHealthRequest()
    • Method Detail

      • setEnvironmentName

        public void setEnvironmentName​(String environmentName)

        Specifies the AWS Elastic Beanstalk environment name.

        Parameters:
        environmentName - Specifies the AWS Elastic Beanstalk environment name.
      • getEnvironmentName

        public String getEnvironmentName()

        Specifies the AWS Elastic Beanstalk environment name.

        Returns:
        Specifies the AWS Elastic Beanstalk environment name.
      • withEnvironmentName

        public DescribeInstancesHealthRequest withEnvironmentName​(String environmentName)

        Specifies the AWS Elastic Beanstalk environment name.

        Parameters:
        environmentName - Specifies the AWS Elastic Beanstalk environment name.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setEnvironmentId

        public void setEnvironmentId​(String environmentId)

        Specifies the AWS Elastic Beanstalk environment ID.

        Parameters:
        environmentId - Specifies the AWS Elastic Beanstalk environment ID.
      • getEnvironmentId

        public String getEnvironmentId()

        Specifies the AWS Elastic Beanstalk environment ID.

        Returns:
        Specifies the AWS Elastic Beanstalk environment ID.
      • withEnvironmentId

        public DescribeInstancesHealthRequest withEnvironmentId​(String environmentId)

        Specifies the AWS Elastic Beanstalk environment ID.

        Parameters:
        environmentId - Specifies the AWS Elastic Beanstalk environment ID.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getAttributeNames

        public List<String> getAttributeNames()

        Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.

        Returns:
        Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.
        See Also:
        InstancesHealthAttribute
      • setAttributeNames

        public void setAttributeNames​(Collection<String> attributeNames)

        Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.

        Parameters:
        attributeNames - Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.
        See Also:
        InstancesHealthAttribute
      • withAttributeNames

        public DescribeInstancesHealthRequest withAttributeNames​(String... attributeNames)

        Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.

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

        Parameters:
        attributeNames - Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstancesHealthAttribute
      • withAttributeNames

        public DescribeInstancesHealthRequest withAttributeNames​(Collection<String> attributeNames)

        Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.

        Parameters:
        attributeNames - Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstancesHealthAttribute
      • withAttributeNames

        public DescribeInstancesHealthRequest withAttributeNames​(InstancesHealthAttribute... attributeNames)

        Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.

        Parameters:
        attributeNames - Specifies the response elements you wish to receive. If no attribute names are specified, AWS Elastic Beanstalk only returns a list of instances.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstancesHealthAttribute
      • setNextToken

        public void setNextToken​(String nextToken)

        Specifies the next token of the request.

        Parameters:
        nextToken - Specifies the next token of the request.
      • getNextToken

        public String getNextToken()

        Specifies the next token of the request.

        Returns:
        Specifies the next token of the request.
      • withNextToken

        public DescribeInstancesHealthRequest withNextToken​(String nextToken)

        Specifies the next token of the request.

        Parameters:
        nextToken - Specifies the next token of the request.
        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