Class DescribeEC2InstanceLimitsResult

java.lang.Object
com.amazonaws.services.gamelift.model.DescribeEC2InstanceLimitsResult
All Implemented Interfaces:
Serializable, Cloneable

public class DescribeEC2InstanceLimitsResult extends Object implements Serializable, Cloneable

Represents the returned data in response to a request action.

See Also:
  • Constructor Details

    • DescribeEC2InstanceLimitsResult

      public DescribeEC2InstanceLimitsResult()
  • Method Details

    • getEC2InstanceLimits

      public List<EC2InstanceLimit> getEC2InstanceLimits()

      Object containing the maximum number of instances for the specified instance type.

      Returns:
      Object containing the maximum number of instances for the specified instance type.
    • setEC2InstanceLimits

      public void setEC2InstanceLimits(Collection<EC2InstanceLimit> eC2InstanceLimits)

      Object containing the maximum number of instances for the specified instance type.

      Parameters:
      eC2InstanceLimits - Object containing the maximum number of instances for the specified instance type.
    • withEC2InstanceLimits

      public DescribeEC2InstanceLimitsResult withEC2InstanceLimits(EC2InstanceLimit... eC2InstanceLimits)

      Object containing the maximum number of instances for the specified instance type.

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

      Parameters:
      eC2InstanceLimits - Object containing the maximum number of instances for the specified instance type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withEC2InstanceLimits

      public DescribeEC2InstanceLimitsResult withEC2InstanceLimits(Collection<EC2InstanceLimit> eC2InstanceLimits)

      Object containing the maximum number of instances for the specified instance type.

      Parameters:
      eC2InstanceLimits - Object containing the maximum number of instances for the specified instance type.
      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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object