Class InstanceTypeOffering
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<InstanceTypeOffering.Builder,InstanceTypeOffering>
The instance types offered.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic InstanceTypeOffering.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final InstanceTypeThe instance type.final StringThe instance type.final Stringlocation()The identifier for the location.final LocationTypeThe location type.final StringThe location type.static Class<? extends InstanceTypeOffering.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
instanceType
The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
If the service returns an enum value that is not available in the current SDK version,
instanceTypewill returnInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominstanceTypeAsString().- Returns:
- The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
- See Also:
-
instanceTypeAsString
The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
If the service returns an enum value that is not available in the current SDK version,
instanceTypewill returnInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominstanceTypeAsString().- Returns:
- The instance type. For more information, see Instance types in the Amazon EC2 User Guide.
- See Also:
-
locationType
The location type.
If the service returns an enum value that is not available in the current SDK version,
locationTypewill returnLocationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlocationTypeAsString().- Returns:
- The location type.
- See Also:
-
locationTypeAsString
The location type.
If the service returns an enum value that is not available in the current SDK version,
locationTypewill returnLocationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromlocationTypeAsString().- Returns:
- The location type.
- See Also:
-
location
The identifier for the location. This depends on the location type. For example, if the location type is
region, the location is the Region code (for example,us-east-2.)- Returns:
- The identifier for the location. This depends on the location type. For example, if the location type is
region, the location is the Region code (for example,us-east-2.)
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<InstanceTypeOffering.Builder,InstanceTypeOffering>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-