public static interface RightsizingRecommendation.Builder extends SdkPojo, CopyableBuilder<RightsizingRecommendation.Builder,RightsizingRecommendation>
| Modifier and Type | Method and Description |
|---|---|
RightsizingRecommendation.Builder |
accountId(String accountId)
The account that this recommendation is for.
|
default RightsizingRecommendation.Builder |
currentInstance(Consumer<CurrentInstance.Builder> currentInstance)
Context regarding the current instance.
|
RightsizingRecommendation.Builder |
currentInstance(CurrentInstance currentInstance)
Context regarding the current instance.
|
RightsizingRecommendation.Builder |
findingReasonCodes(Collection<FindingReasonCode> findingReasonCodes)
The list of possible reasons why the recommendation is generated such as under or over utilization of
specific metrics (for example, CPU, Memory, Network).
|
RightsizingRecommendation.Builder |
findingReasonCodes(FindingReasonCode... findingReasonCodes)
The list of possible reasons why the recommendation is generated such as under or over utilization of
specific metrics (for example, CPU, Memory, Network).
|
RightsizingRecommendation.Builder |
findingReasonCodesWithStrings(Collection<String> findingReasonCodes)
The list of possible reasons why the recommendation is generated such as under or over utilization of
specific metrics (for example, CPU, Memory, Network).
|
RightsizingRecommendation.Builder |
findingReasonCodesWithStrings(String... findingReasonCodes)
The list of possible reasons why the recommendation is generated such as under or over utilization of
specific metrics (for example, CPU, Memory, Network).
|
default RightsizingRecommendation.Builder |
modifyRecommendationDetail(Consumer<ModifyRecommendationDetail.Builder> modifyRecommendationDetail)
Details for modification recommendations.
|
RightsizingRecommendation.Builder |
modifyRecommendationDetail(ModifyRecommendationDetail modifyRecommendationDetail)
Details for modification recommendations.
|
RightsizingRecommendation.Builder |
rightsizingType(RightsizingType rightsizingType)
Recommendation to either terminate or modify the resource.
|
RightsizingRecommendation.Builder |
rightsizingType(String rightsizingType)
Recommendation to either terminate or modify the resource.
|
default RightsizingRecommendation.Builder |
terminateRecommendationDetail(Consumer<TerminateRecommendationDetail.Builder> terminateRecommendationDetail)
Details for termination recommendations.
|
RightsizingRecommendation.Builder |
terminateRecommendationDetail(TerminateRecommendationDetail terminateRecommendationDetail)
Details for termination recommendations.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRightsizingRecommendation.Builder accountId(String accountId)
The account that this recommendation is for.
accountId - The account that this recommendation is for.RightsizingRecommendation.Builder currentInstance(CurrentInstance currentInstance)
Context regarding the current instance.
currentInstance - Context regarding the current instance.default RightsizingRecommendation.Builder currentInstance(Consumer<CurrentInstance.Builder> currentInstance)
Context regarding the current instance.
This is a convenience that creates an instance of theCurrentInstance.Builder avoiding the need to
create one manually via CurrentInstance.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to currentInstance(CurrentInstance).currentInstance - a consumer that will call methods on CurrentInstance.BuildercurrentInstance(CurrentInstance)RightsizingRecommendation.Builder rightsizingType(String rightsizingType)
Recommendation to either terminate or modify the resource.
rightsizingType - Recommendation to either terminate or modify the resource.RightsizingType,
RightsizingTypeRightsizingRecommendation.Builder rightsizingType(RightsizingType rightsizingType)
Recommendation to either terminate or modify the resource.
rightsizingType - Recommendation to either terminate or modify the resource.RightsizingType,
RightsizingTypeRightsizingRecommendation.Builder modifyRecommendationDetail(ModifyRecommendationDetail modifyRecommendationDetail)
Details for modification recommendations.
modifyRecommendationDetail - Details for modification recommendations.default RightsizingRecommendation.Builder modifyRecommendationDetail(Consumer<ModifyRecommendationDetail.Builder> modifyRecommendationDetail)
Details for modification recommendations.
This is a convenience that creates an instance of theModifyRecommendationDetail.Builder avoiding the
need to create one manually via ModifyRecommendationDetail.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to modifyRecommendationDetail(ModifyRecommendationDetail).modifyRecommendationDetail - a consumer that will call methods on ModifyRecommendationDetail.BuildermodifyRecommendationDetail(ModifyRecommendationDetail)RightsizingRecommendation.Builder terminateRecommendationDetail(TerminateRecommendationDetail terminateRecommendationDetail)
Details for termination recommendations.
terminateRecommendationDetail - Details for termination recommendations.default RightsizingRecommendation.Builder terminateRecommendationDetail(Consumer<TerminateRecommendationDetail.Builder> terminateRecommendationDetail)
Details for termination recommendations.
This is a convenience that creates an instance of theTerminateRecommendationDetail.Builder avoiding
the need to create one manually via TerminateRecommendationDetail.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to terminateRecommendationDetail(TerminateRecommendationDetail)
.terminateRecommendationDetail - a consumer that will call methods on TerminateRecommendationDetail.BuilderterminateRecommendationDetail(TerminateRecommendationDetail)RightsizingRecommendation.Builder findingReasonCodesWithStrings(Collection<String> findingReasonCodes)
The list of possible reasons why the recommendation is generated such as under or over utilization of specific metrics (for example, CPU, Memory, Network).
findingReasonCodes - The list of possible reasons why the recommendation is generated such as under or over utilization of
specific metrics (for example, CPU, Memory, Network).RightsizingRecommendation.Builder findingReasonCodesWithStrings(String... findingReasonCodes)
The list of possible reasons why the recommendation is generated such as under or over utilization of specific metrics (for example, CPU, Memory, Network).
findingReasonCodes - The list of possible reasons why the recommendation is generated such as under or over utilization of
specific metrics (for example, CPU, Memory, Network).RightsizingRecommendation.Builder findingReasonCodes(Collection<FindingReasonCode> findingReasonCodes)
The list of possible reasons why the recommendation is generated such as under or over utilization of specific metrics (for example, CPU, Memory, Network).
findingReasonCodes - The list of possible reasons why the recommendation is generated such as under or over utilization of
specific metrics (for example, CPU, Memory, Network).RightsizingRecommendation.Builder findingReasonCodes(FindingReasonCode... findingReasonCodes)
The list of possible reasons why the recommendation is generated such as under or over utilization of specific metrics (for example, CPU, Memory, Network).
findingReasonCodes - The list of possible reasons why the recommendation is generated such as under or over utilization of
specific metrics (for example, CPU, Memory, Network).Copyright © 2021. All rights reserved.