Interface TrustedAdvisorCheckResult.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TrustedAdvisorCheckResult.Builder,TrustedAdvisorCheckResult>,SdkBuilder<TrustedAdvisorCheckResult.Builder,TrustedAdvisorCheckResult>,SdkPojo
- Enclosing class:
- TrustedAdvisorCheckResult
public static interface TrustedAdvisorCheckResult.Builder extends SdkPojo, CopyableBuilder<TrustedAdvisorCheckResult.Builder,TrustedAdvisorCheckResult>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TrustedAdvisorCheckResult.BuildercategorySpecificSummary(Consumer<TrustedAdvisorCategorySpecificSummary.Builder> categorySpecificSummary)Summary information that relates to the category of the check.TrustedAdvisorCheckResult.BuildercategorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)Summary information that relates to the category of the check.TrustedAdvisorCheckResult.BuildercheckId(String checkId)The unique identifier for the Trusted Advisor check.TrustedAdvisorCheckResult.BuilderflaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)The details about each resource listed in the check result.TrustedAdvisorCheckResult.BuilderflaggedResources(Consumer<TrustedAdvisorResourceDetail.Builder>... flaggedResources)The details about each resource listed in the check result.TrustedAdvisorCheckResult.BuilderflaggedResources(TrustedAdvisorResourceDetail... flaggedResources)The details about each resource listed in the check result.default TrustedAdvisorCheckResult.BuilderresourcesSummary(Consumer<TrustedAdvisorResourcesSummary.Builder> resourcesSummary)Sets the value of the ResourcesSummary property for this object.TrustedAdvisorCheckResult.BuilderresourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)Sets the value of the ResourcesSummary property for this object.TrustedAdvisorCheckResult.Builderstatus(String status)The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".TrustedAdvisorCheckResult.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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
checkId
TrustedAdvisorCheckResult.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
TrustedAdvisorCheckResult.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
TrustedAdvisorCheckResult.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.
-
resourcesSummary
TrustedAdvisorCheckResult.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 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.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
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.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)
-
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.Builderavoiding the need to create one manually viaTrustedAdvisorResourceDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#flaggedResources(List.) - 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:
#flaggedResources(java.util.Collection)
-
-