@Generated(value="software.amazon.awssdk:codegen") public final class DescribeAcceleratorOfferingsRequest extends ElasticInferenceRequest implements ToCopyableBuilder<DescribeAcceleratorOfferingsRequest.Builder,DescribeAcceleratorOfferingsRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeAcceleratorOfferingsRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
acceleratorTypes()
The list of accelerator types to describe.
|
static DescribeAcceleratorOfferingsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasAcceleratorTypes()
Returns true if the AcceleratorTypes property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
LocationType |
locationType()
The location type that you want to describe accelerator type offerings for.
|
String |
locationTypeAsString()
The location type that you want to describe accelerator type offerings for.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeAcceleratorOfferingsRequest.Builder> |
serializableBuilderClass() |
DescribeAcceleratorOfferingsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic LocationType locationType()
The location type that you want to describe accelerator type offerings for. It can assume the following values: region: will return the accelerator type offering at the regional level. availability-zone: will return the accelerator type offering at the availability zone level. availability-zone-id: will return the accelerator type offering at the availability zone level returning the availability zone id.
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 that you want to describe accelerator type offerings for. It can assume the following values: region: will return the accelerator type offering at the regional level. availability-zone: will return the accelerator type offering at the availability zone level. availability-zone-id: will return the accelerator type offering at the availability zone level returning the availability zone id.
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 boolean hasAcceleratorTypes()
public List<String> acceleratorTypes()
The list of accelerator types to describe.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasAcceleratorTypes() to see if a value was sent in this field.
public DescribeAcceleratorOfferingsRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeAcceleratorOfferingsRequest.Builder,DescribeAcceleratorOfferingsRequest>toBuilder in class ElasticInferenceRequestpublic static DescribeAcceleratorOfferingsRequest.Builder builder()
public static Class<? extends DescribeAcceleratorOfferingsRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.