Class CheckDetail
- java.lang.Object
-
- software.amazon.awssdk.services.wellarchitected.model.CheckDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CheckDetail.Builder,CheckDetail>
@Generated("software.amazon.awssdk:codegen") public final class CheckDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CheckDetail.Builder,CheckDetail>
Account details for a Well-Architected best practice in relation to Trusted Advisor checks.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCheckDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()Returns the value of the AccountId property for this object.static CheckDetail.Builderbuilder()StringchoiceId()Returns the value of the ChoiceId property for this object.Stringdescription()Trusted Advisor check description.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)IntegerflaggedResources()Count of flagged resources associated to the check.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()Trusted Advisor check ID.StringlensArn()Well-Architected Lens ARN associated to the check.Stringname()Trusted Advisor check name.StringpillarId()Returns the value of the PillarId property for this object.CheckProviderprovider()Provider of the check related to the best practice.StringproviderAsString()Provider of the check related to the best practice.StringquestionId()Returns the value of the QuestionId property for this object.CheckFailureReasonreason()Reason associated to the check.StringreasonAsString()Reason associated to the check.List<SdkField<?>>sdkFields()static Class<? extends CheckDetail.Builder>serializableBuilderClass()CheckStatusstatus()Status associated to the check.StringstatusAsString()Status associated to the check.CheckDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()Returns the value of the UpdatedAt property for this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
id
public final String id()
Trusted Advisor check ID.
- Returns:
- Trusted Advisor check ID.
-
name
public final String name()
Trusted Advisor check name.
- Returns:
- Trusted Advisor check name.
-
description
public final String description()
Trusted Advisor check description.
- Returns:
- Trusted Advisor check description.
-
provider
public final CheckProvider provider()
Provider of the check related to the best practice.
If the service returns an enum value that is not available in the current SDK version,
providerwill returnCheckProvider.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproviderAsString().- Returns:
- Provider of the check related to the best practice.
- See Also:
CheckProvider
-
providerAsString
public final String providerAsString()
Provider of the check related to the best practice.
If the service returns an enum value that is not available in the current SDK version,
providerwill returnCheckProvider.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromproviderAsString().- Returns:
- Provider of the check related to the best practice.
- See Also:
CheckProvider
-
lensArn
public final String lensArn()
Well-Architected Lens ARN associated to the check.
- Returns:
- Well-Architected Lens ARN associated to the check.
-
pillarId
public final String pillarId()
Returns the value of the PillarId property for this object.- Returns:
- The value of the PillarId property for this object.
-
questionId
public final String questionId()
Returns the value of the QuestionId property for this object.- Returns:
- The value of the QuestionId property for this object.
-
choiceId
public final String choiceId()
Returns the value of the ChoiceId property for this object.- Returns:
- The value of the ChoiceId property for this object.
-
status
public final CheckStatus status()
Status associated to the check.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnCheckStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status associated to the check.
- See Also:
CheckStatus
-
statusAsString
public final String statusAsString()
Status associated to the check.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnCheckStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- Status associated to the check.
- See Also:
CheckStatus
-
accountId
public final String accountId()
Returns the value of the AccountId property for this object.- Returns:
- The value of the AccountId property for this object.
-
flaggedResources
public final Integer flaggedResources()
Count of flagged resources associated to the check.
- Returns:
- Count of flagged resources associated to the check.
-
reason
public final CheckFailureReason reason()
Reason associated to the check.
If the service returns an enum value that is not available in the current SDK version,
reasonwill returnCheckFailureReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonAsString().- Returns:
- Reason associated to the check.
- See Also:
CheckFailureReason
-
reasonAsString
public final String reasonAsString()
Reason associated to the check.
If the service returns an enum value that is not available in the current SDK version,
reasonwill returnCheckFailureReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromreasonAsString().- Returns:
- Reason associated to the check.
- See Also:
CheckFailureReason
-
updatedAt
public final Instant updatedAt()
Returns the value of the UpdatedAt property for this object.- Returns:
- The value of the UpdatedAt property for this object.
-
toBuilder
public CheckDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CheckDetail.Builder,CheckDetail>
-
builder
public static CheckDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends CheckDetail.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-