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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DescribeEC2InstanceLimitsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescribeEC2InstanceLimitsResult
clone()
boolean
equals(Object obj)
List<EC2InstanceLimit>
getEC2InstanceLimits()
Object containing the maximum number of instances for the specified instance type.int
hashCode()
void
setEC2InstanceLimits(Collection<EC2InstanceLimit> eC2InstanceLimits)
Object containing the maximum number of instances for the specified instance type.String
toString()
Returns a string representation of this object; useful for testing and debugging.DescribeEC2InstanceLimitsResult
withEC2InstanceLimits(EC2InstanceLimit... eC2InstanceLimits)
Object containing the maximum number of instances for the specified instance type.DescribeEC2InstanceLimitsResult
withEC2InstanceLimits(Collection<EC2InstanceLimit> eC2InstanceLimits)
Object containing the maximum number of instances for the specified instance type.
-
-
-
Method Detail
-
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)
orwithEC2InstanceLimits(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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public DescribeEC2InstanceLimitsResult clone()
-
-