@Generated(value="software.amazon.awssdk:codegen") public final class InstanceTypeOffering extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceTypeOffering.Builder,InstanceTypeOffering>
The instance types offered.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceTypeOffering.Builder |
| Modifier and Type | Method and Description |
|---|---|
static InstanceTypeOffering.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
InstanceType |
instanceType()
The instance type.
|
String |
instanceTypeAsString()
The instance type.
|
String |
location()
The identifier for the location.
|
LocationType |
locationType()
The location type.
|
String |
locationTypeAsString()
The location type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceTypeOffering.Builder> |
serializableBuilderClass() |
InstanceTypeOffering.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic InstanceType instanceType()
The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
instanceTypeAsString().
InstanceTypepublic String instanceTypeAsString()
The instance type. For more information, see Instance Types in the Amazon Elastic Compute Cloud User Guide.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return InstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
instanceTypeAsString().
InstanceTypepublic LocationType locationType()
The location type.
If the service returns an enum value that is not available in the current SDK version, locationType will
return LocationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
locationTypeAsString().
LocationTypepublic String locationTypeAsString()
The location type.
If the service returns an enum value that is not available in the current SDK version, locationType will
return LocationType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
locationTypeAsString().
LocationTypepublic String 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.)
region, the location is the Region code (for example, us-east-2.)public InstanceTypeOffering.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InstanceTypeOffering.Builder,InstanceTypeOffering>public static InstanceTypeOffering.Builder builder()
public static Class<? extends InstanceTypeOffering.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.