@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Limits extends Object implements Serializable, Cloneable, StructuredPojo
Limits for a given instance type and for each of its roles.
Constructor and Description |
---|
Limits() |
Modifier and Type | Method and Description |
---|---|
Limits |
clone() |
boolean |
equals(Object obj) |
List<AdditionalLimit> |
getAdditionalLimits()
List of additional limits that are specific to a given instance type for each of its instance roles.
|
InstanceLimits |
getInstanceLimits()
The limits for a given instance type.
|
List<StorageType> |
getStorageTypes()
Storage-related attributes that are available for a given instance type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAdditionalLimits(Collection<AdditionalLimit> additionalLimits)
List of additional limits that are specific to a given instance type for each of its instance roles.
|
void |
setInstanceLimits(InstanceLimits instanceLimits)
The limits for a given instance type.
|
void |
setStorageTypes(Collection<StorageType> storageTypes)
Storage-related attributes that are available for a given instance type.
|
String |
toString()
Returns a string representation of this object.
|
Limits |
withAdditionalLimits(AdditionalLimit... additionalLimits)
List of additional limits that are specific to a given instance type for each of its instance roles.
|
Limits |
withAdditionalLimits(Collection<AdditionalLimit> additionalLimits)
List of additional limits that are specific to a given instance type for each of its instance roles.
|
Limits |
withInstanceLimits(InstanceLimits instanceLimits)
The limits for a given instance type.
|
Limits |
withStorageTypes(Collection<StorageType> storageTypes)
Storage-related attributes that are available for a given instance type.
|
Limits |
withStorageTypes(StorageType... storageTypes)
Storage-related attributes that are available for a given instance type.
|
public List<StorageType> getStorageTypes()
Storage-related attributes that are available for a given instance type.
public void setStorageTypes(Collection<StorageType> storageTypes)
Storage-related attributes that are available for a given instance type.
storageTypes
- Storage-related attributes that are available for a given instance type.public Limits withStorageTypes(StorageType... storageTypes)
Storage-related attributes that are available for a given instance type.
NOTE: This method appends the values to the existing list (if any). Use
setStorageTypes(java.util.Collection)
or withStorageTypes(java.util.Collection)
if you want to
override the existing values.
storageTypes
- Storage-related attributes that are available for a given instance type.public Limits withStorageTypes(Collection<StorageType> storageTypes)
Storage-related attributes that are available for a given instance type.
storageTypes
- Storage-related attributes that are available for a given instance type.public void setInstanceLimits(InstanceLimits instanceLimits)
The limits for a given instance type.
instanceLimits
- The limits for a given instance type.public InstanceLimits getInstanceLimits()
The limits for a given instance type.
public Limits withInstanceLimits(InstanceLimits instanceLimits)
The limits for a given instance type.
instanceLimits
- The limits for a given instance type.public List<AdditionalLimit> getAdditionalLimits()
List of additional limits that are specific to a given instance type for each of its instance roles.
public void setAdditionalLimits(Collection<AdditionalLimit> additionalLimits)
List of additional limits that are specific to a given instance type for each of its instance roles.
additionalLimits
- List of additional limits that are specific to a given instance type for each of its instance roles.public Limits withAdditionalLimits(AdditionalLimit... additionalLimits)
List of additional limits that are specific to a given instance type for each of its instance roles.
NOTE: This method appends the values to the existing list (if any). Use
setAdditionalLimits(java.util.Collection)
or withAdditionalLimits(java.util.Collection)
if you
want to override the existing values.
additionalLimits
- List of additional limits that are specific to a given instance type for each of its instance roles.public Limits withAdditionalLimits(Collection<AdditionalLimit> additionalLimits)
List of additional limits that are specific to a given instance type for each of its instance roles.
additionalLimits
- List of additional limits that are specific to a given instance type for each of its instance roles.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.