Class InstanceTypeCapacity
- java.lang.Object
-
- software.amazon.awssdk.services.outposts.model.InstanceTypeCapacity
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InstanceTypeCapacity.Builder,InstanceTypeCapacity>
@Generated("software.amazon.awssdk:codegen") public final class InstanceTypeCapacity extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceTypeCapacity.Builder,InstanceTypeCapacity>
The instance type that you specify determines the combination of CPU, memory, storage, and networking capacity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInstanceTypeCapacity.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InstanceTypeCapacity.Builderbuilder()Integercount()The number of instances for the specified instance type.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceType()The instance type of the hosts.List<SdkField<?>>sdkFields()static Class<? extends InstanceTypeCapacity.Builder>serializableBuilderClass()InstanceTypeCapacity.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
-
instanceType
public final String instanceType()
The instance type of the hosts.
- Returns:
- The instance type of the hosts.
-
count
public final Integer count()
The number of instances for the specified instance type.
- Returns:
- The number of instances for the specified instance type.
-
toBuilder
public InstanceTypeCapacity.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<InstanceTypeCapacity.Builder,InstanceTypeCapacity>
-
builder
public static InstanceTypeCapacity.Builder builder()
-
serializableBuilderClass
public static Class<? extends InstanceTypeCapacity.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.
-
-