@Generated(value="software.amazon.awssdk:codegen") public class TrustedAdvisorCheckSummary extends Object implements StructuredPojo, ToCopyableBuilder<TrustedAdvisorCheckSummary.Builder,TrustedAdvisorCheckSummary>
A summary of a Trusted Advisor check result, including the alert status, last refresh, and number of resources examined.
Modifier and Type | Class and Description |
---|---|
static interface |
TrustedAdvisorCheckSummary.Builder |
Modifier and Type | Method and Description |
---|---|
static TrustedAdvisorCheckSummary.Builder |
builder() |
TrustedAdvisorCategorySpecificSummary |
categorySpecificSummary()
Summary information that relates to the category of the check.
|
String |
checkId()
The unique identifier for the Trusted Advisor check.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
Boolean |
hasFlaggedResources()
Specifies whether the Trusted Advisor check has flagged resources.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
TrustedAdvisorResourcesSummary |
resourcesSummary()
Returns the value of the ResourcesSummary property for this object.
|
static Class<? extends TrustedAdvisorCheckSummary.Builder> |
serializableBuilderClass() |
String |
status()
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
|
String |
timestamp()
The time of the last refresh of the check.
|
TrustedAdvisorCheckSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String checkId()
The unique identifier for the Trusted Advisor check.
public String timestamp()
The time of the last refresh of the check.
public String status()
The alert status of the check: "ok" (green), "warning" (yellow), "error" (red), or "not_available".
public Boolean hasFlaggedResources()
Specifies whether the Trusted Advisor check has flagged resources.
public TrustedAdvisorResourcesSummary resourcesSummary()
public TrustedAdvisorCategorySpecificSummary categorySpecificSummary()
Summary information that relates to the category of the check. Cost Optimizing is the only category that is currently supported.
public TrustedAdvisorCheckSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<TrustedAdvisorCheckSummary.Builder,TrustedAdvisorCheckSummary>
public static TrustedAdvisorCheckSummary.Builder builder()
public static Class<? extends TrustedAdvisorCheckSummary.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.