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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, 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 the AWS
Resource Types Reference. For example: AWS::ElasticLoadBalancingV2::LoadBalancer,
AWS::CloudFront::Distribution, or AWS::NetworkFirewall::FirewallPolicy.
resourceType - The resource type. This is in the format shown in the AWS Resource Types Reference. For example: AWS::ElasticLoadBalancingV2::LoadBalancer
, AWS::CloudFront::Distribution, or AWS::NetworkFirewall::FirewallPolicy.Copyright © 2020. All rights reserved.