Interface PolicyComplianceStatus.Builder

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

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

    • policyOwner

      PolicyComplianceStatus.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.
    • policyName

      PolicyComplianceStatus.Builder policyName(String policyName)

      The name of the Firewall Manager policy.

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

      PolicyComplianceStatus.Builder memberAccount(String memberAccount)

      The member account ID.

      Parameters:
      memberAccount - The member account ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluationResults

      PolicyComplianceStatus.Builder evaluationResults(Collection<EvaluationResult> evaluationResults)

      An array of EvaluationResult objects.

      Parameters:
      evaluationResults - An array of EvaluationResult objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluationResults

      PolicyComplianceStatus.Builder evaluationResults(EvaluationResult... evaluationResults)

      An array of EvaluationResult objects.

      Parameters:
      evaluationResults - An array of EvaluationResult objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • evaluationResults

      PolicyComplianceStatus.Builder evaluationResults(Consumer<EvaluationResult.Builder>... evaluationResults)

      An array of EvaluationResult objects.

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

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

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

      PolicyComplianceStatus.Builder lastUpdated(Instant lastUpdated)

      Timestamp of the last update to the EvaluationResult objects.

      Parameters:
      lastUpdated - Timestamp of the last update to the EvaluationResult objects.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • issueInfoMapWithStrings

      PolicyComplianceStatus.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.