Package | Description |
---|---|
com.amazonaws.services.ec2 |
|
com.amazonaws.services.ec2.model |
Modifier and Type | Method and Description |
---|---|
Future<RequestSpotInstancesResult> |
AbstractAmazonEC2Async.requestSpotInstancesAsync(RequestSpotInstancesRequest request,
AsyncHandler<RequestSpotInstancesRequest,RequestSpotInstancesResult> asyncHandler) |
Future<RequestSpotInstancesResult> |
AmazonEC2Async.requestSpotInstancesAsync(RequestSpotInstancesRequest requestSpotInstancesRequest,
AsyncHandler<RequestSpotInstancesRequest,RequestSpotInstancesResult> asyncHandler)
Creates a Spot Instance request.
|
Future<RequestSpotInstancesResult> |
AmazonEC2AsyncClient.requestSpotInstancesAsync(RequestSpotInstancesRequest request,
AsyncHandler<RequestSpotInstancesRequest,RequestSpotInstancesResult> asyncHandler) |
Modifier and Type | Method and Description |
---|---|
RequestSpotInstancesRequest |
RequestSpotInstancesRequest.clone() |
RequestSpotInstancesRequest |
RequestSpotInstancesRequest.withAvailabilityZoneGroup(String availabilityZoneGroup)
The user-specified name for a logical grouping of requests.
|
RequestSpotInstancesRequest |
RequestSpotInstancesRequest.withBlockDurationMinutes(Integer blockDurationMinutes)
Deprecated.
|
RequestSpotInstancesRequest |
RequestSpotInstancesRequest.withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
RequestSpotInstancesRequest |
RequestSpotInstancesRequest.withInstanceCount(Integer instanceCount)
The maximum number of Spot Instances to launch.
|
RequestSpotInstancesRequest |
RequestSpotInstancesRequest.withInstanceInterruptionBehavior(InstanceInterruptionBehavior instanceInterruptionBehavior)
The behavior when a Spot Instance is interrupted.
|
RequestSpotInstancesRequest |
RequestSpotInstancesRequest.withInstanceInterruptionBehavior(String instanceInterruptionBehavior)
The behavior when a Spot Instance is interrupted.
|
RequestSpotInstancesRequest |
RequestSpotInstancesRequest.withLaunchGroup(String launchGroup)
The instance launch group.
|
RequestSpotInstancesRequest |
RequestSpotInstancesRequest.withLaunchSpecification(LaunchSpecification launchSpecification)
The launch specification.
|
RequestSpotInstancesRequest |
RequestSpotInstancesRequest.withSpotPrice(String spotPrice)
The maximum price per hour that you are willing to pay for a Spot Instance.
|
RequestSpotInstancesRequest |
RequestSpotInstancesRequest.withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The key-value pair for tagging the Spot Instance request on creation.
|
RequestSpotInstancesRequest |
RequestSpotInstancesRequest.withTagSpecifications(TagSpecification... tagSpecifications)
The key-value pair for tagging the Spot Instance request on creation.
|
RequestSpotInstancesRequest |
RequestSpotInstancesRequest.withType(SpotInstanceType type)
The Spot Instance request type.
|
RequestSpotInstancesRequest |
RequestSpotInstancesRequest.withType(String type)
The Spot Instance request type.
|
RequestSpotInstancesRequest |
RequestSpotInstancesRequest.withValidFrom(Date validFrom)
The start date of the request.
|
RequestSpotInstancesRequest |
RequestSpotInstancesRequest.withValidUntil(Date validUntil)
The end date of the request, in UTC format (YYYY-MM-DDTHH:MM:SSZ).
|
Modifier and Type | Method and Description |
---|---|
Request<RequestSpotInstancesRequest> |
RequestSpotInstancesRequest.getDryRunRequest()
This method is intended for internal use only.
|
Copyright © 2021. All rights reserved.