public class RequestSpotInstancesOptions extends BaseEC2RequestOptions
import static org.jclouds.aws.ec2.options.RequestSpotInstancesOptions.Builder.*
AWSEC2Client client = // get connection
history = client.getSpotInstanceServices().requestSpotInstancesInRegion("us-east-1",validFrom(yesterday).type("m1.small"));
Modifier and Type | Class and Description |
---|---|
static class |
RequestSpotInstancesOptions.Builder |
Modifier and Type | Field and Description |
---|---|
static RequestSpotInstancesOptions |
NONE |
formParameters, headers, pathSuffix, payload, queryParameters
Constructor and Description |
---|
RequestSpotInstancesOptions() |
Modifier and Type | Method and Description |
---|---|
RequestSpotInstancesOptions |
availabilityZoneGroup(String availabilityZoneGroup)
Specifies the Availability Zone group.
|
RequestSpotInstancesOptions |
launchGroup(String launchGroup)
Specifies the instance launch group.
|
RequestSpotInstancesOptions |
type(SpotInstanceRequest.Type type)
Specifies the Spot Instance type.
|
RequestSpotInstancesOptions |
validFrom(Date start)
Start date of the request.
|
RequestSpotInstancesOptions |
validUntil(Date end)
End date of the request.
|
getFormValuesWithKeysPrefixedBy, indexFormValuesWithPrefix, indexFormValuesWithPrefix, toString
buildFormParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader
public static final RequestSpotInstancesOptions NONE
public RequestSpotInstancesOptions validFrom(Date start)
public RequestSpotInstancesOptions validUntil(Date end)
public RequestSpotInstancesOptions type(SpotInstanceRequest.Type type)
public RequestSpotInstancesOptions launchGroup(String launchGroup)
public RequestSpotInstancesOptions availabilityZoneGroup(String availabilityZoneGroup)
Copyright © 2009-2013 jclouds. All Rights Reserved.