Interface TrustedAdvisorCheckSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TrustedAdvisorCheckSummary.Builder,
,TrustedAdvisorCheckSummary> SdkBuilder<TrustedAdvisorCheckSummary.Builder,
,TrustedAdvisorCheckSummary> SdkPojo
- Enclosing class:
TrustedAdvisorCheckSummary
-
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.hasFlaggedResources
(Boolean hasFlaggedResources) Specifies whether the Trusted Advisor check has flagged resources.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, sdkFieldNameToField, 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.
-
hasFlaggedResources
Specifies whether the Trusted Advisor check has flagged resources.
- Parameters:
hasFlaggedResources
- Specifies whether the Trusted Advisor check has flagged resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourcesSummary
TrustedAdvisorCheckSummary.Builder resourcesSummary(TrustedAdvisorResourcesSummary 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 TrustedAdvisorCheckSummary.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
TrustedAdvisorCheckSummary.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 TrustedAdvisorCheckSummary.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:
-