Interface Compliance.Builder

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

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

    • complianceType

      Compliance.Builder complianceType(String complianceType)

      Indicates whether an Amazon Web Services resource or Config rule is compliant.

      A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.

      A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.

      Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the Amazon Web Services resource or Config rule.

      For the Compliance data type, Config supports only COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the NOT_APPLICABLE value for the Compliance data type.

      Parameters:
      complianceType - Indicates whether an Amazon Web Services resource or Config rule is compliant.

      A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.

      A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.

      Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the Amazon Web Services resource or Config rule.

      For the Compliance data type, Config supports only COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the NOT_APPLICABLE value for the Compliance data type.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • complianceType

      Compliance.Builder complianceType(ComplianceType complianceType)

      Indicates whether an Amazon Web Services resource or Config rule is compliant.

      A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.

      A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.

      Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the Amazon Web Services resource or Config rule.

      For the Compliance data type, Config supports only COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the NOT_APPLICABLE value for the Compliance data type.

      Parameters:
      complianceType - Indicates whether an Amazon Web Services resource or Config rule is compliant.

      A resource is compliant if it complies with all of the Config rules that evaluate it. A resource is noncompliant if it does not comply with one or more of these rules.

      A rule is compliant if all of the resources that the rule evaluates comply with it. A rule is noncompliant if any of these resources do not comply.

      Config returns the INSUFFICIENT_DATA value when no evaluation results are available for the Amazon Web Services resource or Config rule.

      For the Compliance data type, Config supports only COMPLIANT, NON_COMPLIANT, and INSUFFICIENT_DATA values. Config does not support the NOT_APPLICABLE value for the Compliance data type.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • complianceContributorCount

      Compliance.Builder complianceContributorCount(ComplianceContributorCount complianceContributorCount)

      The number of Amazon Web Services resources or Config rules that cause a result of NON_COMPLIANT , up to a maximum number.

      Parameters:
      complianceContributorCount - The number of Amazon Web Services resources or Config rules that cause a result of NON_COMPLIANT, up to a maximum number.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • complianceContributorCount

      default Compliance.Builder complianceContributorCount(Consumer<ComplianceContributorCount.Builder> complianceContributorCount)

      The number of Amazon Web Services resources or Config rules that cause a result of NON_COMPLIANT , up to a maximum number.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to complianceContributorCount(ComplianceContributorCount).

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