public static interface TrustedAdvisorCheckResult.Builder extends CopyableBuilder<TrustedAdvisorCheckResult.Builder,TrustedAdvisorCheckResult>
Modifier and Type | Method and Description |
---|---|
default TrustedAdvisorCheckResult.Builder |
categorySpecificSummary(Consumer<TrustedAdvisorCategorySpecificSummary.Builder> categorySpecificSummary)
Summary information that relates to the category of the check.
|
TrustedAdvisorCheckResult.Builder |
categorySpecificSummary(TrustedAdvisorCategorySpecificSummary categorySpecificSummary)
Summary information that relates to the category of the check.
|
TrustedAdvisorCheckResult.Builder |
checkId(String checkId)
The unique identifier for the Trusted Advisor check.
|
TrustedAdvisorCheckResult.Builder |
flaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
The details about each resource listed in the check result.
|
TrustedAdvisorCheckResult.Builder |
flaggedResources(TrustedAdvisorResourceDetail... flaggedResources)
The details about each resource listed in the check result.
|
default TrustedAdvisorCheckResult.Builder |
resourcesSummary(Consumer<TrustedAdvisorResourcesSummary.Builder> resourcesSummary)
Sets the value of the ResourcesSummary property for this object.
|
TrustedAdvisorCheckResult.Builder |
resourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
Sets the value of the ResourcesSummary property for this object.
|
TrustedAdvisorCheckResult.Builder |
status(String status)
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
|
TrustedAdvisorCheckResult.Builder |
timestamp(String timestamp)
The time of the last refresh of the check.
|
copy
apply, build
TrustedAdvisorCheckResult.Builder checkId(String checkId)
The unique identifier for the Trusted Advisor check.
checkId
- The unique identifier for the Trusted Advisor check.TrustedAdvisorCheckResult.Builder timestamp(String timestamp)
The time of the last refresh of the check.
timestamp
- The time of the last refresh of the check.TrustedAdvisorCheckResult.Builder status(String status)
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
status
- The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".TrustedAdvisorCheckResult.Builder resourcesSummary(TrustedAdvisorResourcesSummary resourcesSummary)
resourcesSummary
- The new value for the ResourcesSummary property for this object.default TrustedAdvisorCheckResult.Builder resourcesSummary(Consumer<TrustedAdvisorResourcesSummary.Builder> resourcesSummary)
TrustedAdvisorResourcesSummary.Builder
avoiding
the need to create one manually via TrustedAdvisorResourcesSummary.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to resourcesSummary(TrustedAdvisorResourcesSummary)
.resourcesSummary
- a consumer that will call methods on TrustedAdvisorResourcesSummary.Builder
resourcesSummary(TrustedAdvisorResourcesSummary)
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.
categorySpecificSummary
- Summary information that relates to the category of the check. Cost Optimizing is the only category
that is currently supported.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 that creates an instance of theTrustedAdvisorCategorySpecificSummary.Builder
avoiding the need to create one manually via TrustedAdvisorCategorySpecificSummary.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to
categorySpecificSummary(TrustedAdvisorCategorySpecificSummary)
.categorySpecificSummary
- a consumer that will call methods on TrustedAdvisorCategorySpecificSummary.Builder
categorySpecificSummary(TrustedAdvisorCategorySpecificSummary)
TrustedAdvisorCheckResult.Builder flaggedResources(Collection<TrustedAdvisorResourceDetail> flaggedResources)
The details about each resource listed in the check result.
flaggedResources
- The details about each resource listed in the check result.TrustedAdvisorCheckResult.Builder flaggedResources(TrustedAdvisorResourceDetail... flaggedResources)
The details about each resource listed in the check result.
flaggedResources
- The details about each resource listed in the check result.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.