Java com.amazonaws.services.ec2.model RequestSpotInstancesRequest fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.ec2.model RequestSpotInstancesRequest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.ec2.model RequestSpotInstancesRequest.

The text is from its open source code.

Constructor

RequestSpotInstancesRequest()
Default constructor for RequestSpotInstancesRequest object.
RequestSpotInstancesRequest(String spotPrice)
Constructs a new RequestSpotInstancesRequest object.

Method

voidsetAvailabilityZoneGroup(String availabilityZoneGroup)

The user-specified name for a logical grouping of requests.

voidsetInstanceCount(Integer instanceCount)

The maximum number of Spot Instances to launch.

voidsetLaunchGroup(String launchGroup)

The instance launch group.

voidsetLaunchSpecification(LaunchSpecification launchSpecification)

The launch specification.

voidsetSpotPrice(String spotPrice)

The maximum price per hour that you are willing to pay for a Spot Instance.

voidsetType(String type)

The Spot Instance request type.

voidsetType(SpotInstanceType type)

The Spot Instance request type.

voidsetValidFrom(java.util.Date validFrom)

The start date of the request.

voidsetValidUntil(java.util.Date validUntil)

The end date of the request.

RequestSpotInstancesRequestwithType(String type)

The Spot Instance request type.

RequestSpotInstancesRequestwithType(SpotInstanceType type)

The Spot Instance request type.