Interface ComplianceByResource.Builder

  • Method Details

    • resourceType

      ComplianceByResource.Builder resourceType(String resourceType)

      The type of the Amazon Web Services resource that was evaluated.

      Parameters:
      resourceType - The type of the Amazon Web Services resource that was evaluated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceId

      ComplianceByResource.Builder resourceId(String resourceId)

      The ID of the Amazon Web Services resource that was evaluated.

      Parameters:
      resourceId - The ID of the Amazon Web Services resource that was evaluated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • compliance

      ComplianceByResource.Builder compliance(Compliance compliance)

      Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.

      Parameters:
      compliance - Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • compliance

      default ComplianceByResource.Builder compliance(Consumer<Compliance.Builder> compliance)

      Indicates whether the Amazon Web Services resource complies with all of the Config rules that evaluated it.

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

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

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