@Generated(value="software.amazon.awssdk:codegen") public final class ComplianceViolator extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ComplianceViolator.Builder,ComplianceViolator>
Details of the resource that is not protected by the policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ComplianceViolator.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ComplianceViolator.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
resourceId()
The resource ID.
|
String |
resourceType()
The resource type.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ComplianceViolator.Builder> |
serializableBuilderClass() |
ComplianceViolator.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
ViolationReason |
violationReason()
The reason that the resource is not protected by the policy.
|
String |
violationReasonAsString()
The reason that the resource is not protected by the policy.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String resourceId()
The resource ID.
public final ViolationReason violationReason()
The reason that the resource is not protected by the policy.
If the service returns an enum value that is not available in the current SDK version, violationReason
will return ViolationReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from violationReasonAsString().
ViolationReasonpublic final String violationReasonAsString()
The reason that the resource is not protected by the policy.
If the service returns an enum value that is not available in the current SDK version, violationReason
will return ViolationReason.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from violationReasonAsString().
ViolationReasonpublic final String resourceType()
The resource type. This is in the format shown in the Amazon
Web Services Resource Types Reference. For example: AWS::ElasticLoadBalancingV2::LoadBalancer,
AWS::CloudFront::Distribution, or AWS::NetworkFirewall::FirewallPolicy.
AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::CloudFront::Distribution, or
AWS::NetworkFirewall::FirewallPolicy.public ComplianceViolator.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ComplianceViolator.Builder,ComplianceViolator>public static ComplianceViolator.Builder builder()
public static Class<? extends ComplianceViolator.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.