@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 String resourceId()
The resource ID.
public 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 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 String resourceType()
The resource type. This is in the format shown in AWS
Resource Types Reference. For example: AWS::ElasticLoadBalancingV2::LoadBalancer or
AWS::CloudFront::Distribution.
AWS::ElasticLoadBalancingV2::LoadBalancer or
AWS::CloudFront::Distribution.public ComplianceViolator.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ComplianceViolator.Builder,ComplianceViolator>public static ComplianceViolator.Builder builder()
public static Class<? extends ComplianceViolator.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.