Class AcceleratorTypeOffering
- java.lang.Object
-
- software.amazon.awssdk.services.elasticinference.model.AcceleratorTypeOffering
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AcceleratorTypeOffering.Builder,AcceleratorTypeOffering>
@Generated("software.amazon.awssdk:codegen") public final class AcceleratorTypeOffering extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AcceleratorTypeOffering.Builder,AcceleratorTypeOffering>
The offering for an Elastic Inference Accelerator type.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAcceleratorTypeOffering.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringacceleratorType()The name of the Elastic Inference Accelerator type.static AcceleratorTypeOffering.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlocation()The location for the offering.LocationTypelocationType()The location type for the offering.StringlocationTypeAsString()The location type for the offering.List<SdkField<?>>sdkFields()static Class<? extends AcceleratorTypeOffering.Builder>serializableBuilderClass()AcceleratorTypeOffering.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
-
acceleratorType
public final String acceleratorType()
The name of the Elastic Inference Accelerator type.
- Returns:
- The name of the Elastic Inference Accelerator type.
-
locationType
public final LocationType locationType()
The location type for the offering. It can assume the following values: region: defines that the offering is at the regional level. availability-zone: defines that the offering is at the availability zone level. availability-zone-id: defines that the offering is at the availability zone level, defined by the availability zone id.
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 for the offering. It can assume the following values: region: defines that the offering is at the regional level. availability-zone: defines that the offering is at the availability zone level. availability-zone-id: defines that the offering is at the availability zone level, defined by the availability zone id.
- See Also:
LocationType
-
locationTypeAsString
public final String locationTypeAsString()
The location type for the offering. It can assume the following values: region: defines that the offering is at the regional level. availability-zone: defines that the offering is at the availability zone level. availability-zone-id: defines that the offering is at the availability zone level, defined by the availability zone id.
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 for the offering. It can assume the following values: region: defines that the offering is at the regional level. availability-zone: defines that the offering is at the availability zone level. availability-zone-id: defines that the offering is at the availability zone level, defined by the availability zone id.
- See Also:
LocationType
-
location
public final String location()
The location for the offering. It will return either the region, availability zone or availability zone id for the offering depending on the locationType value.
- Returns:
- The location for the offering. It will return either the region, availability zone or availability zone id for the offering depending on the locationType value.
-
toBuilder
public AcceleratorTypeOffering.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AcceleratorTypeOffering.Builder,AcceleratorTypeOffering>
-
builder
public static AcceleratorTypeOffering.Builder builder()
-
serializableBuilderClass
public static Class<? extends AcceleratorTypeOffering.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.
-
-