Interface GetSpotPlacementScoresResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSpotPlacementScoresResponse.Builder,GetSpotPlacementScoresResponse>
,Ec2Response.Builder
,SdkBuilder<GetSpotPlacementScoresResponse.Builder,GetSpotPlacementScoresResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- GetSpotPlacementScoresResponse
public static interface GetSpotPlacementScoresResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<GetSpotPlacementScoresResponse.Builder,GetSpotPlacementScoresResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetSpotPlacementScoresResponse.Builder
nextToken(String nextToken)
The token to include in another request to get the next page of items.GetSpotPlacementScoresResponse.Builder
spotPlacementScores(Collection<SpotPlacementScore> spotPlacementScores)
The Spot placement score for the top 10 Regions or Availability Zones, scored on a scale from 1 to 10.GetSpotPlacementScoresResponse.Builder
spotPlacementScores(Consumer<SpotPlacementScore.Builder>... spotPlacementScores)
The Spot placement score for the top 10 Regions or Availability Zones, scored on a scale from 1 to 10.GetSpotPlacementScoresResponse.Builder
spotPlacementScores(SpotPlacementScore... spotPlacementScores)
The Spot placement score for the top 10 Regions or Availability Zones, scored on a scale from 1 to 10.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
spotPlacementScores
GetSpotPlacementScoresResponse.Builder spotPlacementScores(Collection<SpotPlacementScore> spotPlacementScores)
The Spot placement score for the top 10 Regions or Availability Zones, scored on a scale from 1 to 10. Each score reflects how likely it is that each Region or Availability Zone will succeed at fulfilling the specified target capacity at the time of the Spot placement score request. A score of
10
means that your Spot capacity request is highly likely to succeed in that Region or Availability Zone.If you request a Spot placement score for Regions, a high score assumes that your fleet request will be configured to use all Availability Zones and the
capacity-optimized
allocation strategy. If you request a Spot placement score for Availability Zones, a high score assumes that your fleet request will be configured to use a single Availability Zone and thecapacity-optimized
allocation strategy.Different Regions or Availability Zones might return the same score.
The Spot placement score serves as a recommendation only. No score guarantees that your Spot request will be fully or partially fulfilled.
- Parameters:
spotPlacementScores
- The Spot placement score for the top 10 Regions or Availability Zones, scored on a scale from 1 to 10. Each score reflects how likely it is that each Region or Availability Zone will succeed at fulfilling the specified target capacity at the time of the Spot placement score request. A score of10
means that your Spot capacity request is highly likely to succeed in that Region or Availability Zone.If you request a Spot placement score for Regions, a high score assumes that your fleet request will be configured to use all Availability Zones and the
capacity-optimized
allocation strategy. If you request a Spot placement score for Availability Zones, a high score assumes that your fleet request will be configured to use a single Availability Zone and thecapacity-optimized
allocation strategy.Different Regions or Availability Zones might return the same score.
The Spot placement score serves as a recommendation only. No score guarantees that your Spot request will be fully or partially fulfilled.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spotPlacementScores
GetSpotPlacementScoresResponse.Builder spotPlacementScores(SpotPlacementScore... spotPlacementScores)
The Spot placement score for the top 10 Regions or Availability Zones, scored on a scale from 1 to 10. Each score reflects how likely it is that each Region or Availability Zone will succeed at fulfilling the specified target capacity at the time of the Spot placement score request. A score of
10
means that your Spot capacity request is highly likely to succeed in that Region or Availability Zone.If you request a Spot placement score for Regions, a high score assumes that your fleet request will be configured to use all Availability Zones and the
capacity-optimized
allocation strategy. If you request a Spot placement score for Availability Zones, a high score assumes that your fleet request will be configured to use a single Availability Zone and thecapacity-optimized
allocation strategy.Different Regions or Availability Zones might return the same score.
The Spot placement score serves as a recommendation only. No score guarantees that your Spot request will be fully or partially fulfilled.
- Parameters:
spotPlacementScores
- The Spot placement score for the top 10 Regions or Availability Zones, scored on a scale from 1 to 10. Each score reflects how likely it is that each Region or Availability Zone will succeed at fulfilling the specified target capacity at the time of the Spot placement score request. A score of10
means that your Spot capacity request is highly likely to succeed in that Region or Availability Zone.If you request a Spot placement score for Regions, a high score assumes that your fleet request will be configured to use all Availability Zones and the
capacity-optimized
allocation strategy. If you request a Spot placement score for Availability Zones, a high score assumes that your fleet request will be configured to use a single Availability Zone and thecapacity-optimized
allocation strategy.Different Regions or Availability Zones might return the same score.
The Spot placement score serves as a recommendation only. No score guarantees that your Spot request will be fully or partially fulfilled.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spotPlacementScores
GetSpotPlacementScoresResponse.Builder spotPlacementScores(Consumer<SpotPlacementScore.Builder>... spotPlacementScores)
The Spot placement score for the top 10 Regions or Availability Zones, scored on a scale from 1 to 10. Each score reflects how likely it is that each Region or Availability Zone will succeed at fulfilling the specified target capacity at the time of the Spot placement score request. A score of
10
means that your Spot capacity request is highly likely to succeed in that Region or Availability Zone.If you request a Spot placement score for Regions, a high score assumes that your fleet request will be configured to use all Availability Zones and the
capacity-optimized
allocation strategy. If you request a Spot placement score for Availability Zones, a high score assumes that your fleet request will be configured to use a single Availability Zone and thecapacity-optimized
allocation strategy.Different Regions or Availability Zones might return the same score.
The Spot placement score serves as a recommendation only. No score guarantees that your Spot request will be fully or partially fulfilled.
SpotPlacementScore.Builder
avoiding the need to create one manually viaSpotPlacementScore.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#spotPlacementScores(List
.) - Parameters:
spotPlacementScores
- a consumer that will call methods onSpotPlacementScore.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#spotPlacementScores(java.util.Collection
)
-
nextToken
GetSpotPlacementScoresResponse.Builder nextToken(String nextToken)
The token to include in another request to get the next page of items. This value is
null
when there are no more items to return.- Parameters:
nextToken
- The token to include in another request to get the next page of items. This value isnull
when there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-