public class DescribeEC2InstanceLimitsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the returned data in response to a request action.
Modifier and Type | Field and Description |
---|---|
private java.util.List<EC2InstanceLimit> |
eC2InstanceLimits
Object containing the maximum number of instances for the specified
instance type.
|
Constructor and Description |
---|
DescribeEC2InstanceLimitsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEC2InstanceLimitsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<EC2InstanceLimit> |
getEC2InstanceLimits()
Object containing the maximum number of instances for the specified
instance type.
|
int |
hashCode() |
void |
setEC2InstanceLimits(java.util.Collection<EC2InstanceLimit> eC2InstanceLimits)
Object containing the maximum number of instances for the specified
instance type.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeEC2InstanceLimitsResult |
withEC2InstanceLimits(java.util.Collection<EC2InstanceLimit> eC2InstanceLimits)
Object containing the maximum number of instances for the specified
instance type.
|
DescribeEC2InstanceLimitsResult |
withEC2InstanceLimits(EC2InstanceLimit... eC2InstanceLimits)
Object containing the maximum number of instances for the specified
instance type.
|
private java.util.List<EC2InstanceLimit> eC2InstanceLimits
Object containing the maximum number of instances for the specified instance type.
public java.util.List<EC2InstanceLimit> getEC2InstanceLimits()
Object containing the maximum number of instances for the specified instance type.
public void setEC2InstanceLimits(java.util.Collection<EC2InstanceLimit> eC2InstanceLimits)
Object containing the maximum number of instances for the specified instance type.
eC2InstanceLimits
- Object containing the maximum number of instances for the
specified instance type.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.
eC2InstanceLimits
- Object containing the maximum number of instances for the
specified instance type.public DescribeEC2InstanceLimitsResult withEC2InstanceLimits(java.util.Collection<EC2InstanceLimit> eC2InstanceLimits)
Object containing the maximum number of instances for the specified instance type.
eC2InstanceLimits
- Object containing the maximum number of instances for the
specified instance type.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DescribeEC2InstanceLimitsResult clone()
clone
in class java.lang.Object