Interface ComplianceViolator.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComplianceViolator.Builder,
,ComplianceViolator> SdkBuilder<ComplianceViolator.Builder,
,ComplianceViolator> SdkPojo
- Enclosing class:
ComplianceViolator
public static interface ComplianceViolator.Builder
extends SdkPojo, CopyableBuilder<ComplianceViolator.Builder,ComplianceViolator>
-
Method Summary
Modifier and TypeMethodDescriptionMetadata about the resource that doesn't comply with the policy scope.resourceId
(String resourceId) The resource ID.resourceType
(String resourceType) The resource type.violationReason
(String violationReason) The reason that the resource is not protected by the policy.violationReason
(ViolationReason violationReason) The reason that the resource is not protected by the policy.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
resourceId
The resource ID.
- Parameters:
resourceId
- The resource ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
violationReason
The reason that the resource is not protected by the policy.
- Parameters:
violationReason
- The reason that the resource is not protected by the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
violationReason
The reason that the resource is not protected by the policy.
- Parameters:
violationReason
- The reason that the resource is not protected by the policy.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
, orAWS::NetworkFirewall::FirewallPolicy
.- Parameters:
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
, orAWS::NetworkFirewall::FirewallPolicy
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Metadata about the resource that doesn't comply with the policy scope.
- Parameters:
metadata
- Metadata about the resource that doesn't comply with the policy scope.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-