public static interface ComplianceViolator.Builder extends SdkPojo, CopyableBuilder<ComplianceViolator.Builder,ComplianceViolator>
| Modifier and Type | Method and Description |
|---|---|
ComplianceViolator.Builder |
resourceId(String resourceId)
The resource ID.
|
ComplianceViolator.Builder |
resourceType(String resourceType)
The resource type.
|
ComplianceViolator.Builder |
violationReason(String violationReason)
The reason that the resource is not protected by the policy.
|
ComplianceViolator.Builder |
violationReason(ViolationReason violationReason)
The reason that the resource is not protected by the policy.
|
copyapplyMutation, buildComplianceViolator.Builder resourceId(String resourceId)
The resource ID.
resourceId - The resource ID.ComplianceViolator.Builder violationReason(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.ViolationReason,
ViolationReasonComplianceViolator.Builder violationReason(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.ViolationReason,
ViolationReasonComplianceViolator.Builder resourceType(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.