@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceManagedEc2InstanceMarketOptions extends Object implements Serializable, Cloneable, StructuredPojo
The details of the Amazon EC2 instance market options for a service managed fleet.
| Constructor and Description |
|---|
ServiceManagedEc2InstanceMarketOptions() |
| Modifier and Type | Method and Description |
|---|---|
ServiceManagedEc2InstanceMarketOptions |
clone() |
boolean |
equals(Object obj) |
String |
getType()
The Amazon EC2 instance type.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setType(String type)
The Amazon EC2 instance type.
|
String |
toString()
Returns a string representation of this object.
|
ServiceManagedEc2InstanceMarketOptions |
withType(Ec2MarketType type)
The Amazon EC2 instance type.
|
ServiceManagedEc2InstanceMarketOptions |
withType(String type)
The Amazon EC2 instance type.
|
public ServiceManagedEc2InstanceMarketOptions()
public void setType(String type)
The Amazon EC2 instance type.
type - The Amazon EC2 instance type.Ec2MarketTypepublic String getType()
The Amazon EC2 instance type.
Ec2MarketTypepublic ServiceManagedEc2InstanceMarketOptions withType(String type)
The Amazon EC2 instance type.
type - The Amazon EC2 instance type.Ec2MarketTypepublic ServiceManagedEc2InstanceMarketOptions withType(Ec2MarketType type)
The Amazon EC2 instance type.
type - The Amazon EC2 instance type.Ec2MarketTypepublic String toString()
toString in class ObjectObject.toString()public ServiceManagedEc2InstanceMarketOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.