Class EC2Capacity
- java.lang.Object
-
- software.amazon.awssdk.services.outposts.model.EC2Capacity
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EC2Capacity.Builder,EC2Capacity>
@Generated("software.amazon.awssdk:codegen") public final class EC2Capacity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EC2Capacity.Builder,EC2Capacity>
Information about EC2 capacity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEC2Capacity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EC2Capacity.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Stringfamily()The family of the EC2 capacity.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringmaxSize()The maximum size of the EC2 capacity.Stringquantity()The quantity of the EC2 capacity.List<SdkField<?>>sdkFields()static Class<? extends EC2Capacity.Builder>serializableBuilderClass()EC2Capacity.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
family
public final String family()
The family of the EC2 capacity.
- Returns:
- The family of the EC2 capacity.
-
maxSize
public final String maxSize()
The maximum size of the EC2 capacity.
- Returns:
- The maximum size of the EC2 capacity.
-
quantity
public final String quantity()
The quantity of the EC2 capacity.
- Returns:
- The quantity of the EC2 capacity.
-
toBuilder
public EC2Capacity.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EC2Capacity.Builder,EC2Capacity>
-
builder
public static EC2Capacity.Builder builder()
-
serializableBuilderClass
public static Class<? extends EC2Capacity.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-