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.BuildernextToken(String nextToken)The token to include in another request to get the next page of items.GetSpotPlacementScoresResponse.BuilderspotPlacementScores(Collection<SpotPlacementScore> spotPlacementScores)The Spot placement score for the top 10 Regions or Availability Zones, scored on a scale from 1 to 10.GetSpotPlacementScoresResponse.BuilderspotPlacementScores(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.BuilderspotPlacementScores(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
10means 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-optimizedallocation 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-optimizedallocation 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 of10means 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-optimizedallocation 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-optimizedallocation 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
10means 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-optimizedallocation 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-optimizedallocation 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 of10means 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-optimizedallocation 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-optimizedallocation 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
10means 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-optimizedallocation 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-optimizedallocation strategy.Different Regions or Availability Zones might return the same score.
This is a convenience method that creates an instance of theThe Spot placement score serves as a recommendation only. No score guarantees that your Spot request will be fully or partially fulfilled.
SpotPlacementScore.Builderavoiding the need to create one manually viaSpotPlacementScore.builder().When the
Consumercompletes,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
nullwhen 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 isnullwhen there are no more items to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-