@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.Ec2MarketType
public String getType()
The Amazon EC2 instance type.
Ec2MarketType
public ServiceManagedEc2InstanceMarketOptions withType(String type)
The Amazon EC2 instance type.
type
- The Amazon EC2 instance type.Ec2MarketType
public ServiceManagedEc2InstanceMarketOptions withType(Ec2MarketType type)
The Amazon EC2 instance type.
type
- The Amazon EC2 instance type.Ec2MarketType
public String toString()
toString
in class Object
Object.toString()
public ServiceManagedEc2InstanceMarketOptions clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.