Interface TrustedAdvisorCheckResult.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TrustedAdvisorCheckResult.Builder,
,TrustedAdvisorCheckResult> SdkBuilder<TrustedAdvisorCheckResult.Builder,
,TrustedAdvisorCheckResult> SdkPojo
- Enclosing class:
TrustedAdvisorCheckResult
-
Method Summary
Modifier and TypeMethodDescriptioncategorySpecificSummary
(Consumer<TrustedAdvisorCategorySpecificSummary.Builder> categorySpecificSummary) Summary information that relates to the category of the check.categorySpecificSummary
(TrustedAdvisorCategorySpecificSummary categorySpecificSummary) Summary information that relates to the category of the check.The unique identifier for the Trusted Advisor check.flaggedResources
(Collection<TrustedAdvisorResourceDetail> flaggedResources) The details about each resource listed in the check result.flaggedResources
(Consumer<TrustedAdvisorResourceDetail.Builder>... flaggedResources) The details about each resource listed in the check result.flaggedResources
(TrustedAdvisorResourceDetail... flaggedResources) The details about each resource listed in the check result.resourcesSummary
(Consumer<TrustedAdvisorResourcesSummary.Builder> resourcesSummary) Sets the value of the ResourcesSummary property for this object.resourcesSummary
(TrustedAdvisorResourcesSummary resourcesSummary) Sets the value of the ResourcesSummary property for this object.The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".The time of the last refresh of the check.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
checkId
The unique identifier for the Trusted Advisor check.
- Parameters:
checkId
- The unique identifier for the Trusted Advisor check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timestamp
The time of the last refresh of the check.
- Parameters:
timestamp
- The time of the last refresh of the check.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
- Parameters:
status
- The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesSummary
Sets the value of the ResourcesSummary property for this object.- Parameters:
resourcesSummary
- The new value for the ResourcesSummary property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesSummary
default TrustedAdvisorCheckResult.Builder resourcesSummary(Consumer<TrustedAdvisorResourcesSummary.Builder> resourcesSummary) Sets the value of the ResourcesSummary property for this object. This is a convenience method that creates an instance of theTrustedAdvisorResourcesSummary.Builder
avoiding the need to create one manually viaTrustedAdvisorResourcesSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresourcesSummary(TrustedAdvisorResourcesSummary)
.- Parameters:
resourcesSummary
- a consumer that will call methods onTrustedAdvisorResourcesSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
categorySpecificSummary
TrustedAdvisorCheckResult.Builder categorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary) Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
- Parameters:
categorySpecificSummary
- Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categorySpecificSummary
default TrustedAdvisorCheckResult.Builder categorySpecificSummary(Consumer<TrustedAdvisorCategorySpecificSummary.Builder> categorySpecificSummary) Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
This is a convenience method that creates an instance of theTrustedAdvisorCategorySpecificSummary.Builder
avoiding the need to create one manually viaTrustedAdvisorCategorySpecificSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocategorySpecificSummary(TrustedAdvisorCategorySpecificSummary)
.- Parameters:
categorySpecificSummary
- a consumer that will call methods onTrustedAdvisorCategorySpecificSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
flaggedResources
TrustedAdvisorCheckResult.Builder flaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources) The details about each resource listed in the check result.
- Parameters:
flaggedResources
- The details about each resource listed in the check result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flaggedResources
TrustedAdvisorCheckResult.Builder flaggedResources(TrustedAdvisorResourceDetail... flaggedResources) The details about each resource listed in the check result.
- Parameters:
flaggedResources
- The details about each resource listed in the check result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flaggedResources
TrustedAdvisorCheckResult.Builder flaggedResources(Consumer<TrustedAdvisorResourceDetail.Builder>... flaggedResources) The details about each resource listed in the check result.
This is a convenience method that creates an instance of theTrustedAdvisorResourceDetail.Builder
avoiding the need to create one manually viaTrustedAdvisorResourceDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toflaggedResources(List<TrustedAdvisorResourceDetail>)
.- Parameters:
flaggedResources
- a consumer that will call methods onTrustedAdvisorResourceDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-