@Generated(value="software.amazon.awssdk:codegen") public final class PolicyComplianceDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PolicyComplianceDetail.Builder,PolicyComplianceDetail>
Describes the noncompliant resources in a member account for a specific AWS Firewall Manager policy. A maximum of 100
entries are displayed. If more than 100 resources are noncompliant, EvaluationLimitExceeded
is set to
True
.
Modifier and Type | Class and Description |
---|---|
static interface |
PolicyComplianceDetail.Builder |
Modifier and Type | Method and Description |
---|---|
static PolicyComplianceDetail.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
Boolean |
evaluationLimitExceeded()
Indicates if over 100 resources are noncompliant with the AWS Firewall Manager policy.
|
Instant |
expiredAt()
A timestamp that indicates when the returned information should be considered out of date.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasIssueInfoMap()
Returns true if the IssueInfoMap property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
boolean |
hasViolators()
Returns true if the Violators property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
Map<DependentServiceName,String> |
issueInfoMap()
Details about problems with dependent services, such as AWS WAF or AWS Config, that are causing a resource to be
noncompliant.
|
Map<String,String> |
issueInfoMapAsStrings()
Details about problems with dependent services, such as AWS WAF or AWS Config, that are causing a resource to be
noncompliant.
|
String |
memberAccount()
The AWS account ID.
|
String |
policyId()
The ID of the AWS Firewall Manager policy.
|
String |
policyOwner()
The AWS account that created the AWS Firewall Manager policy.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PolicyComplianceDetail.Builder> |
serializableBuilderClass() |
PolicyComplianceDetail.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
List<ComplianceViolator> |
violators()
An array of resources that aren't protected by the AWS WAF or Shield Advanced policy or that aren't in compliance
with the security group policy.
|
copy
public final String policyOwner()
The AWS account that created the AWS Firewall Manager policy.
public final String policyId()
The ID of the AWS Firewall Manager policy.
public final String memberAccount()
The AWS account ID.
public final boolean hasViolators()
public final List<ComplianceViolator> violators()
An array of resources that aren't protected by the AWS WAF or Shield Advanced policy or that aren't in compliance with the security group policy.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasViolators()
to see if a value was sent in this field.
public final Boolean evaluationLimitExceeded()
Indicates if over 100 resources are noncompliant with the AWS Firewall Manager policy.
public final Instant expiredAt()
A timestamp that indicates when the returned information should be considered out of date.
public final Map<DependentServiceName,String> issueInfoMap()
Details about problems with dependent services, such as AWS WAF or AWS Config, that are causing a resource to be noncompliant. The details include the name of the dependent service 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.
You can use hasIssueInfoMap()
to see if a value was sent in this field.
public final boolean hasIssueInfoMap()
public final Map<String,String> issueInfoMapAsStrings()
Details about problems with dependent services, such as AWS WAF or AWS Config, that are causing a resource to be noncompliant. The details include the name of the dependent service 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.
You can use hasIssueInfoMap()
to see if a value was sent in this field.
public PolicyComplianceDetail.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<PolicyComplianceDetail.Builder,PolicyComplianceDetail>
public static PolicyComplianceDetail.Builder builder()
public static Class<? extends PolicyComplianceDetail.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()