Interface GetCapacityManagerSupportabilityScoresResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetCapacityManagerSupportabilityScoresResponse.Builder,,GetCapacityManagerSupportabilityScoresResponse> Ec2Response.Builder,SdkBuilder<GetCapacityManagerSupportabilityScoresResponse.Builder,,GetCapacityManagerSupportabilityScoresResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetCapacityManagerSupportabilityScoresResponse
-
Method Summary
Modifier and TypeMethodDescriptionaggregateScore(String aggregateScore) The score for all instance type and Availability Zone combinations in the request together.aggregateScore(SupportabilityScore aggregateScore) The score for all instance type and Availability Zone combinations in the request together.capacityManagerSupportabilityScores(Collection<CapacityManagerSupportabilityScore> capacityManagerSupportabilityScores) The score for each instance type and Availability Zone combination in the request.capacityManagerSupportabilityScores(Consumer<CapacityManagerSupportabilityScore.Builder>... capacityManagerSupportabilityScores) The score for each instance type and Availability Zone combination in the request.capacityManagerSupportabilityScores(CapacityManagerSupportabilityScore... capacityManagerSupportabilityScores) The score for each instance type and Availability Zone combination in the request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
aggregateScore
The score for all instance type and Availability Zone combinations in the request together. A
highaggregate score with lower individual scores means that no single combination can support the full request, but the combinations together can.- Parameters:
aggregateScore- The score for all instance type and Availability Zone combinations in the request together. Ahighaggregate score with lower individual scores means that no single combination can support the full request, but the combinations together can.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
aggregateScore
GetCapacityManagerSupportabilityScoresResponse.Builder aggregateScore(SupportabilityScore aggregateScore) The score for all instance type and Availability Zone combinations in the request together. A
highaggregate score with lower individual scores means that no single combination can support the full request, but the combinations together can.- Parameters:
aggregateScore- The score for all instance type and Availability Zone combinations in the request together. Ahighaggregate score with lower individual scores means that no single combination can support the full request, but the combinations together can.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacityManagerSupportabilityScores
GetCapacityManagerSupportabilityScoresResponse.Builder capacityManagerSupportabilityScores(Collection<CapacityManagerSupportabilityScore> capacityManagerSupportabilityScores) The score for each instance type and Availability Zone combination in the request.
- Parameters:
capacityManagerSupportabilityScores- The score for each instance type and Availability Zone combination in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityManagerSupportabilityScores
GetCapacityManagerSupportabilityScoresResponse.Builder capacityManagerSupportabilityScores(CapacityManagerSupportabilityScore... capacityManagerSupportabilityScores) The score for each instance type and Availability Zone combination in the request.
- Parameters:
capacityManagerSupportabilityScores- The score for each instance type and Availability Zone combination in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityManagerSupportabilityScores
GetCapacityManagerSupportabilityScoresResponse.Builder capacityManagerSupportabilityScores(Consumer<CapacityManagerSupportabilityScore.Builder>... capacityManagerSupportabilityScores) The score for each instance type and Availability Zone combination in the request.
This is a convenience method that creates an instance of theCapacityManagerSupportabilityScore.Builderavoiding the need to create one manually viaCapacityManagerSupportabilityScore.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapacityManagerSupportabilityScores(List<CapacityManagerSupportabilityScore>).- Parameters:
capacityManagerSupportabilityScores- a consumer that will call methods onCapacityManagerSupportabilityScore.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-