@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComplianceViolator extends Object implements Serializable, Cloneable, StructuredPojo
Details of the resource that is not protected by the policy.
| Constructor and Description |
|---|
ComplianceViolator() |
| Modifier and Type | Method and Description |
|---|---|
ComplianceViolator |
clone() |
boolean |
equals(Object obj) |
String |
getResourceId()
The resource ID.
|
String |
getResourceType()
The resource type.
|
String |
getViolationReason()
The reason that the resource is not protected by the policy.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setResourceId(String resourceId)
The resource ID.
|
void |
setResourceType(String resourceType)
The resource type.
|
void |
setViolationReason(String violationReason)
The reason that the resource is not protected by the policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ComplianceViolator |
withResourceId(String resourceId)
The resource ID.
|
ComplianceViolator |
withResourceType(String resourceType)
The resource type.
|
ComplianceViolator |
withViolationReason(String violationReason)
The reason that the resource is not protected by the policy.
|
ComplianceViolator |
withViolationReason(ViolationReason violationReason)
The reason that the resource is not protected by the policy.
|
public void setResourceId(String resourceId)
The resource ID.
resourceId - The resource ID.public String getResourceId()
The resource ID.
public ComplianceViolator withResourceId(String resourceId)
The resource ID.
resourceId - The resource ID.public void setViolationReason(String violationReason)
The reason that the resource is not protected by the policy.
violationReason - The reason that the resource is not protected by the policy.ViolationReasonpublic String getViolationReason()
The reason that the resource is not protected by the policy.
ViolationReasonpublic ComplianceViolator withViolationReason(String violationReason)
The reason that the resource is not protected by the policy.
violationReason - The reason that the resource is not protected by the policy.ViolationReasonpublic ComplianceViolator withViolationReason(ViolationReason violationReason)
The reason that the resource is not protected by the policy.
violationReason - The reason that the resource is not protected by the policy.ViolationReasonpublic void setResourceType(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.
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.public String getResourceType()
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 withResourceType(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.
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.public String toString()
toString in class ObjectObject.toString()public ComplianceViolator clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.