Interface TrustedAdvisorCheckSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TrustedAdvisorCheckSummary.Builder,TrustedAdvisorCheckSummary>,SdkBuilder<TrustedAdvisorCheckSummary.Builder,TrustedAdvisorCheckSummary>,SdkPojo
- Enclosing class:
- TrustedAdvisorCheckSummary
public static interface TrustedAdvisorCheckSummary.Builder extends SdkPojo, CopyableBuilder<TrustedAdvisorCheckSummary.Builder,TrustedAdvisorCheckSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TrustedAdvisorCheckSummary.BuildercategorySpecificSummary(Consumer<TrustedAdvisorCategorySpecificSummary.Builder> categorySpecificSummary)Summary information that relates to the category of the check.TrustedAdvisorCheckSummary.BuildercategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)Summary information that relates to the category of the check.TrustedAdvisorCheckSummary.BuildercheckId(String checkId)The unique identifier for the Trusted Advisor check.TrustedAdvisorCheckSummary.BuilderhasFlaggedResources(Boolean hasFlaggedResources)Specifies whether the Trusted Advisor check has flagged resources.default TrustedAdvisorCheckSummary.BuilderresourcesSummary(Consumer<TrustedAdvisorResourcesSummary.Builder> resourcesSummary)Sets the value of the ResourcesSummary property for this object.TrustedAdvisorCheckSummary.BuilderresourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)Sets the value of the ResourcesSummary property for this object.TrustedAdvisorCheckSummary.Builderstatus(String status)The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".TrustedAdvisorCheckSummary.Buildertimestamp(String timestamp)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 Detail
-
checkId
TrustedAdvisorCheckSummary.Builder checkId(String 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
TrustedAdvisorCheckSummary.Builder timestamp(String 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
TrustedAdvisorCheckSummary.Builder status(String 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
TrustedAdvisorCheckSummary.Builder hasFlaggedResources(Boolean 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.Builderavoiding the need to create one manually viaTrustedAdvisorResourcesSummary.builder().When the
Consumercompletes,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:
resourcesSummary(TrustedAdvisorResourcesSummary)
-
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.Builderavoiding the need to create one manually viaTrustedAdvisorCategorySpecificSummary.builder().When the
Consumercompletes,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:
categorySpecificSummary(TrustedAdvisorCategorySpecificSummary)
-
-