Example usage for Java com.amazonaws.services.ec2.model RequestSpotInstancesRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
RequestSpotInstancesRequest() Default constructor for RequestSpotInstancesRequest object. | |
RequestSpotInstancesRequest(String spotPrice) Constructs a new RequestSpotInstancesRequest object. |
void | setAvailabilityZoneGroup(String availabilityZoneGroup) The user-specified name for a logical grouping of requests. |
void | setInstanceCount(Integer instanceCount) The maximum number of Spot Instances to launch. |
void | setLaunchGroup(String launchGroup) The instance launch group. |
void | setLaunchSpecification(LaunchSpecification launchSpecification) The launch specification. |
void | setSpotPrice(String spotPrice) The maximum price per hour that you are willing to pay for a Spot Instance. |
void | setType(String type) The Spot Instance request type. |
void | setType(SpotInstanceType type) The Spot Instance request type. |
void | setValidFrom(java.util.Date validFrom) The start date of the request. |
void | setValidUntil(java.util.Date validUntil) The end date of the request. |
RequestSpotInstancesRequest | withType(String type) The Spot Instance request type. |
RequestSpotInstancesRequest | withType(SpotInstanceType type) The Spot Instance request type. |