public static interface ComplianceViolator.Builder extends SdkPojo, CopyableBuilder<ComplianceViolator.Builder,ComplianceViolator>
| Modifier and Type | Method and Description |
|---|---|
ComplianceViolator.Builder |
metadata(Map<String,String> metadata)
Metadata about the resource that doesn't comply with the policy scope.
|
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 Amazon Web Services 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 Amazon Web Services Resource Types Reference. For example:
AWS::ElasticLoadBalancingV2::LoadBalancer, AWS::CloudFront::Distribution, or
AWS::NetworkFirewall::FirewallPolicy.ComplianceViolator.Builder metadata(Map<String,String> metadata)
Metadata about the resource that doesn't comply with the policy scope.
metadata - Metadata about the resource that doesn't comply with the policy scope.Copyright © 2023. All rights reserved.