@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AcceleratorTypeOffering extends Object implements Serializable, Cloneable, StructuredPojo
The offering for an Elastic Inference Accelerator type.
Constructor and Description |
---|
AcceleratorTypeOffering() |
Modifier and Type | Method and Description |
---|---|
AcceleratorTypeOffering |
clone() |
boolean |
equals(Object obj) |
String |
getAcceleratorType()
The name of the Elastic Inference Accelerator type.
|
String |
getLocation()
The location for the offering.
|
String |
getLocationType()
The location type for the offering.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAcceleratorType(String acceleratorType)
The name of the Elastic Inference Accelerator type.
|
void |
setLocation(String location)
The location for the offering.
|
void |
setLocationType(String locationType)
The location type for the offering.
|
String |
toString()
Returns a string representation of this object.
|
AcceleratorTypeOffering |
withAcceleratorType(String acceleratorType)
The name of the Elastic Inference Accelerator type.
|
AcceleratorTypeOffering |
withLocation(String location)
The location for the offering.
|
AcceleratorTypeOffering |
withLocationType(LocationType locationType)
The location type for the offering.
|
AcceleratorTypeOffering |
withLocationType(String locationType)
The location type for the offering.
|
public void setAcceleratorType(String acceleratorType)
The name of the Elastic Inference Accelerator type.
acceleratorType
- The name of the Elastic Inference Accelerator type.public String getAcceleratorType()
The name of the Elastic Inference Accelerator type.
public AcceleratorTypeOffering withAcceleratorType(String acceleratorType)
The name of the Elastic Inference Accelerator type.
acceleratorType
- The name of the Elastic Inference Accelerator type.public void setLocationType(String 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.
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.LocationType
public String getLocationType()
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.
LocationType
public AcceleratorTypeOffering withLocationType(String 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.
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.LocationType
public AcceleratorTypeOffering withLocationType(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.
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.LocationType
public void setLocation(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.
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.public String getLocation()
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.
public AcceleratorTypeOffering withLocation(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.
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.public String toString()
toString
in class Object
Object.toString()
public AcceleratorTypeOffering clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.