Interface SpotFleetRequestConfig.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<SpotFleetRequestConfig.Builder,,- SpotFleetRequestConfig> - SdkBuilder<SpotFleetRequestConfig.Builder,,- SpotFleetRequestConfig> - SdkPojo
- Enclosing class:
- SpotFleetRequestConfig
- 
Method SummaryModifier 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.BuilderspotFleetRequestConfig(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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
activityStatusThe 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_terminationwhile Spot Instances are terminating.- Parameters:
- activityStatus- The progress of the Spot Fleet request. If there is an error, the status is- error. After all requests are placed, the status is- pending_fulfillment. If the size of the fleet is equal to or greater than its target capacity, the status is- fulfilled. If the size of the fleet is decreased, the status is- pending_terminationwhile Spot Instances are terminating.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
activityStatusThe 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_terminationwhile Spot Instances are terminating.- Parameters:
- activityStatus- The progress of the Spot Fleet request. If there is an error, the status is- error. After all requests are placed, the status is- pending_fulfillment. If the size of the fleet is equal to or greater than its target capacity, the status is- fulfilled. If the size of the fleet is decreased, the status is- pending_terminationwhile Spot Instances are terminating.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
createTimeThe 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.
 
- 
spotFleetRequestConfigSpotFleetRequestConfig.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.
 
- 
spotFleetRequestConfigdefault 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.Builderavoiding the need to create one manually viaSpotFleetRequestConfigData.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospotFleetRequestConfig(SpotFleetRequestConfigData).- Parameters:
- spotFleetRequestConfig- a consumer that will call methods on- SpotFleetRequestConfigData.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
spotFleetRequestIdThe 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.
 
- 
spotFleetRequestStateThe 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:
 
- 
spotFleetRequestStateThe 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:
 
- 
tagsThe 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.
 
- 
tagsThe 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.
 
- 
tagsThe tags for a Spot Fleet resource. This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
- tags- a consumer that will call methods on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-