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 Details

    • 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

      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:
    • 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, or AWS::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, or AWS::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.