Interface PolicyComplianceDetail.Builder

All Superinterfaces:
Buildable, CopyableBuilder<PolicyComplianceDetail.Builder,PolicyComplianceDetail>, SdkBuilder<PolicyComplianceDetail.Builder,PolicyComplianceDetail>, SdkPojo
Enclosing class:
PolicyComplianceDetail

public static interface PolicyComplianceDetail.Builder extends SdkPojo, CopyableBuilder<PolicyComplianceDetail.Builder,PolicyComplianceDetail>
  • Method Details

    • policyOwner

      PolicyComplianceDetail.Builder policyOwner(String policyOwner)

      The Amazon Web Services account that created the Firewall Manager policy.

      Parameters:
      policyOwner - The Amazon Web Services account that created the Firewall Manager policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • policyId

      The ID of the Firewall Manager policy.

      Parameters:
      policyId - The ID of the Firewall Manager policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • memberAccount

      PolicyComplianceDetail.Builder memberAccount(String memberAccount)

      The Amazon Web Services account ID.

      Parameters:
      memberAccount - The Amazon Web Services account ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • violators

      An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.

      Parameters:
      violators - An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • violators

      An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.

      Parameters:
      violators - An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • violators

      An array of resources that aren't protected by the WAF or Shield Advanced policy or that aren't in compliance with the security group policy.

      This is a convenience method that creates an instance of the ComplianceViolator.Builder avoiding the need to create one manually via ComplianceViolator.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to violators(List<ComplianceViolator>).

      Parameters:
      violators - a consumer that will call methods on ComplianceViolator.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • evaluationLimitExceeded

      PolicyComplianceDetail.Builder evaluationLimitExceeded(Boolean evaluationLimitExceeded)

      Indicates if over 100 resources are noncompliant with the Firewall Manager policy.

      Parameters:
      evaluationLimitExceeded - Indicates if over 100 resources are noncompliant with the Firewall Manager policy.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiredAt

      A timestamp that indicates when the returned information should be considered out of date.

      Parameters:
      expiredAt - A timestamp that indicates when the returned information should be considered out of date.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issueInfoMapWithStrings

      PolicyComplianceDetail.Builder issueInfoMapWithStrings(Map<String,String> issueInfoMap)

      Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.

      Parameters:
      issueInfoMap - Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issueInfoMap

      Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.

      Parameters:
      issueInfoMap - Details about problems with dependent services, such as WAF or Config, and the error message received that indicates the problem with the service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.