@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
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.
|
copypublic 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. Valid values are AWS::ElasticLoadBalancingV2::LoadBalancer or
AWS::CloudFront::Distribution.
AWS::ElasticLoadBalancingV2::LoadBalancer or AWS::CloudFront::Distribution.public ComplianceViolator.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<ComplianceViolator.Builder,ComplianceViolator>public static ComplianceViolator.Builder builder()
public static Class<? extends ComplianceViolator.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.