Class PolicyComplianceStatus
- All Implemented Interfaces:
- Serializable,- SdkPojo,- ToCopyableBuilder<PolicyComplianceStatus.Builder,- PolicyComplianceStatus> 
Indicates whether the account is compliant with the specified policy. An account is considered noncompliant if it includes resources that are not protected by the policy, for WAF and Shield Advanced policies, or that are noncompliant with the policy, for security group policies.
- See Also:
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final List<EvaluationResult> An array ofEvaluationResultobjects.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final booleanFor responses, this returns true if the service returned a value for the EvaluationResults property.final inthashCode()final booleanFor responses, this returns true if the service returned a value for the IssueInfoMap property.final Map<DependentServiceName, String> Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.final InstantTimestamp of the last update to theEvaluationResultobjects.final StringThe member account ID.final StringpolicyId()The ID of the Firewall Manager policy.final StringThe name of the Firewall Manager policy.final StringThe Amazon Web Services account that created the Firewall Manager policy.static Class<? extends PolicyComplianceStatus.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuildercopy
- 
Method Details- 
policyOwnerThe Amazon Web Services account that created the Firewall Manager policy. - Returns:
- The Amazon Web Services account that created the Firewall Manager policy.
 
- 
policyIdThe ID of the Firewall Manager policy. - Returns:
- The ID of the Firewall Manager policy.
 
- 
policyNameThe name of the Firewall Manager policy. - Returns:
- The name of the Firewall Manager policy.
 
- 
memberAccount
- 
hasEvaluationResultspublic final boolean hasEvaluationResults()For responses, this returns true if the service returned a value for the EvaluationResults property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
- 
evaluationResultsAn array of EvaluationResultobjects.Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasEvaluationResults()method.- Returns:
- An array of EvaluationResultobjects.
 
- 
lastUpdatedTimestamp of the last update to the EvaluationResultobjects.- Returns:
- Timestamp of the last update to the EvaluationResultobjects.
 
- 
issueInfoMapDetails about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasIssueInfoMap()method.- Returns:
- Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.
 
- 
hasIssueInfoMappublic final boolean hasIssueInfoMap()For responses, this returns true if the service returned a value for the IssueInfoMap property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
- 
issueInfoMapAsStringsDetails about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service. Attempts to modify the collection returned by this method will result in an UnsupportedOperationException. This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasIssueInfoMap()method.- Returns:
- Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.
 
- 
toBuilderDescription copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
- toBuilderin interface- ToCopyableBuilder<PolicyComplianceStatus.Builder,- PolicyComplianceStatus> 
- Returns:
- a builder for type T
 
- 
builder
- 
serializableBuilderClass
- 
hashCode
- 
equals
- 
equalsBySdkFieldsDescription copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
- equalsBySdkFieldsin interface- SdkPojo
- Parameters:
- obj- the object to be compared with
- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
 
- 
toString
- 
getValueForField
- 
sdkFields
- 
sdkFieldNameToField- Specified by:
- sdkFieldNameToFieldin interface- SdkPojo
- Returns:
- The mapping between the field name and its corresponding field.
 
 
-