Interface SpotFleetRequestConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SpotFleetRequestConfig.Builder,
,SpotFleetRequestConfig> SdkBuilder<SpotFleetRequestConfig.Builder,
,SpotFleetRequestConfig> SdkPojo
- Enclosing class:
SpotFleetRequestConfig
-
Method Summary
Modifier and TypeMethodDescriptionactivityStatus
(String activityStatus) The progress of the Spot Fleet request.activityStatus
(ActivityStatus activityStatus) The progress of the Spot Fleet request.createTime
(Instant createTime) The creation date and time of the request.default SpotFleetRequestConfig.Builder
spotFleetRequestConfig
(Consumer<SpotFleetRequestConfigData.Builder> spotFleetRequestConfig) The configuration of the Spot Fleet request.spotFleetRequestConfig
(SpotFleetRequestConfigData spotFleetRequestConfig) The configuration of the Spot Fleet request.spotFleetRequestId
(String spotFleetRequestId) The ID of the Spot Fleet request.spotFleetRequestState
(String spotFleetRequestState) The state of the Spot Fleet request.spotFleetRequestState
(BatchState spotFleetRequestState) The state of the Spot Fleet request.tags
(Collection<Tag> tags) The tags for a Spot Fleet resource.tags
(Consumer<Tag.Builder>... tags) The tags for a Spot Fleet resource.The tags for a Spot Fleet resource.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
activityStatus
The progress of the Spot Fleet request. If there is an error, the status is
error
. After all requests are placed, the status ispending_fulfillment
. If the size of the fleet is equal to or greater than its target capacity, the status isfulfilled
. If the size of the fleet is decreased, the status ispending_termination
while Spot Instances are terminating.- Parameters:
activityStatus
- The progress of the Spot Fleet request. If there is an error, the status iserror
. After all requests are placed, the status ispending_fulfillment
. If the size of the fleet is equal to or greater than its target capacity, the status isfulfilled
. If the size of the fleet is decreased, the status ispending_termination
while Spot Instances are terminating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activityStatus
The progress of the Spot Fleet request. If there is an error, the status is
error
. After all requests are placed, the status ispending_fulfillment
. If the size of the fleet is equal to or greater than its target capacity, the status isfulfilled
. If the size of the fleet is decreased, the status ispending_termination
while Spot Instances are terminating.- Parameters:
activityStatus
- The progress of the Spot Fleet request. If there is an error, the status iserror
. After all requests are placed, the status ispending_fulfillment
. If the size of the fleet is equal to or greater than its target capacity, the status isfulfilled
. If the size of the fleet is decreased, the status ispending_termination
while Spot Instances are terminating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createTime
The creation date and time of the request.
- Parameters:
createTime
- The creation date and time of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spotFleetRequestConfig
SpotFleetRequestConfig.Builder spotFleetRequestConfig(SpotFleetRequestConfigData spotFleetRequestConfig) The configuration of the Spot Fleet request.
- Parameters:
spotFleetRequestConfig
- The configuration of the Spot Fleet request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spotFleetRequestConfig
default SpotFleetRequestConfig.Builder spotFleetRequestConfig(Consumer<SpotFleetRequestConfigData.Builder> spotFleetRequestConfig) The configuration of the Spot Fleet request.
This is a convenience method that creates an instance of theSpotFleetRequestConfigData.Builder
avoiding the need to create one manually viaSpotFleetRequestConfigData.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tospotFleetRequestConfig(SpotFleetRequestConfigData)
.- Parameters:
spotFleetRequestConfig
- a consumer that will call methods onSpotFleetRequestConfigData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
spotFleetRequestId
The ID of the Spot Fleet request.
- Parameters:
spotFleetRequestId
- The ID of the Spot Fleet request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spotFleetRequestState
The state of the Spot Fleet request.
- Parameters:
spotFleetRequestState
- The state of the Spot Fleet request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
spotFleetRequestState
The state of the Spot Fleet request.
- Parameters:
spotFleetRequestState
- The state of the Spot Fleet request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags for a Spot Fleet resource.
- Parameters:
tags
- The tags for a Spot Fleet resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for a Spot Fleet resource.
- Parameters:
tags
- The tags for a Spot Fleet resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags for a Spot Fleet resource.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-