Interface ComplianceViolator.Builder

    • 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, 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

        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.