Class EvaluationResult
- java.lang.Object
-
- software.amazon.awssdk.services.fms.model.EvaluationResult
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EvaluationResult.Builder,EvaluationResult>
@Generated("software.amazon.awssdk:codegen") public final class EvaluationResult extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EvaluationResult.Builder,EvaluationResult>
Describes the compliance status for the account. An account is considered noncompliant if it includes resources that are not protected by the specified policy or that don't comply with the policy.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEvaluationResult.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EvaluationResult.Builderbuilder()PolicyComplianceStatusTypecomplianceStatus()Describes an Amazon Web Services account's compliance with the Firewall Manager policy.StringcomplianceStatusAsString()Describes an Amazon Web Services account's compliance with the Firewall Manager policy.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)BooleanevaluationLimitExceeded()Indicates that over 100 resources are noncompliant with the Firewall Manager policy.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends EvaluationResult.Builder>serializableBuilderClass()EvaluationResult.BuildertoBuilder()StringtoString()Returns a string representation of this object.LongviolatorCount()The number of resources that are noncompliant with the specified policy.-
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
-
complianceStatus
public final PolicyComplianceStatusType complianceStatus()
Describes an Amazon Web Services account's compliance with the Firewall Manager policy.
If the service returns an enum value that is not available in the current SDK version,
complianceStatuswill returnPolicyComplianceStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomplianceStatusAsString().- Returns:
- Describes an Amazon Web Services account's compliance with the Firewall Manager policy.
- See Also:
PolicyComplianceStatusType
-
complianceStatusAsString
public final String complianceStatusAsString()
Describes an Amazon Web Services account's compliance with the Firewall Manager policy.
If the service returns an enum value that is not available in the current SDK version,
complianceStatuswill returnPolicyComplianceStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomplianceStatusAsString().- Returns:
- Describes an Amazon Web Services account's compliance with the Firewall Manager policy.
- See Also:
PolicyComplianceStatusType
-
violatorCount
public final Long violatorCount()
The number of resources that are noncompliant with the specified policy. For WAF and Shield Advanced policies, a resource is considered noncompliant if it is not associated with the policy. For security group policies, a resource is considered noncompliant if it doesn't comply with the rules of the policy and remediation is disabled or not possible.
- Returns:
- The number of resources that are noncompliant with the specified policy. For WAF and Shield Advanced policies, a resource is considered noncompliant if it is not associated with the policy. For security group policies, a resource is considered noncompliant if it doesn't comply with the rules of the policy and remediation is disabled or not possible.
-
evaluationLimitExceeded
public final Boolean evaluationLimitExceeded()
Indicates that over 100 resources are noncompliant with the Firewall Manager policy.
- Returns:
- Indicates that over 100 resources are noncompliant with the Firewall Manager policy.
-
toBuilder
public EvaluationResult.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EvaluationResult.Builder,EvaluationResult>
-
builder
public static EvaluationResult.Builder builder()
-
serializableBuilderClass
public static Class<? extends EvaluationResult.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.
-
-