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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ComplianceViolator.Buildermetadata(Map<String,String> metadata)Metadata about the resource that doesn't comply with the policy scope.ComplianceViolator.BuilderresourceId(String resourceId)The resource ID.ComplianceViolator.BuilderresourceType(String resourceType)The resource type.ComplianceViolator.BuilderviolationReason(String violationReason)The reason that the resource is not protected by the policy.ComplianceViolator.BuilderviolationReason(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 Detail
-
resourceId
ComplianceViolator.Builder resourceId(String 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
ComplianceViolator.Builder violationReason(String 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,ViolationReason
-
violationReason
ComplianceViolator.Builder violationReason(ViolationReason 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,ViolationReason
-
resourceType
ComplianceViolator.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, 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
ComplianceViolator.Builder metadata(Map<String,String> 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.
-
-