@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeEC2InstanceLimitsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the returned data in response to a request action.
Constructor and Description |
---|
DescribeEC2InstanceLimitsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeEC2InstanceLimitsResult |
clone() |
boolean |
equals(Object obj) |
List<EC2InstanceLimit> |
getEC2InstanceLimits()
Object that contains the maximum number of instances for the specified instance type.
|
int |
hashCode() |
void |
setEC2InstanceLimits(Collection<EC2InstanceLimit> eC2InstanceLimits)
Object that contains 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(Collection<EC2InstanceLimit> eC2InstanceLimits)
Object that contains the maximum number of instances for the specified instance type.
|
DescribeEC2InstanceLimitsResult |
withEC2InstanceLimits(EC2InstanceLimit... eC2InstanceLimits)
Object that contains the maximum number of instances for the specified instance type.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<EC2InstanceLimit> getEC2InstanceLimits()
Object that contains the maximum number of instances for the specified instance type.
public void setEC2InstanceLimits(Collection<EC2InstanceLimit> eC2InstanceLimits)
Object that contains the maximum number of instances for the specified instance type.
eC2InstanceLimits
- Object that contains the maximum number of instances for the specified instance type.public DescribeEC2InstanceLimitsResult withEC2InstanceLimits(EC2InstanceLimit... eC2InstanceLimits)
Object that contains 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 that contains the maximum number of instances for the specified instance type.public DescribeEC2InstanceLimitsResult withEC2InstanceLimits(Collection<EC2InstanceLimit> eC2InstanceLimits)
Object that contains the maximum number of instances for the specified instance type.
eC2InstanceLimits
- Object that contains the maximum number of instances for the specified instance type.public String toString()
toString
in class Object
Object.toString()
public DescribeEC2InstanceLimitsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.