Interface AuditSuppression.Builder

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

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

    • checkName

      AuditSuppression.Builder checkName(String checkName)
      Sets the value of the CheckName property for this object.
      Parameters:
      checkName - The new value for the CheckName property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceIdentifier

      AuditSuppression.Builder resourceIdentifier(ResourceIdentifier resourceIdentifier)
      Sets the value of the ResourceIdentifier property for this object.
      Parameters:
      resourceIdentifier - The new value for the ResourceIdentifier property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceIdentifier

      default AuditSuppression.Builder resourceIdentifier(Consumer<ResourceIdentifier.Builder> resourceIdentifier)
      Sets the value of the ResourceIdentifier property for this object. This is a convenience method that creates an instance of the ResourceIdentifier.Builder avoiding the need to create one manually via ResourceIdentifier.builder().

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

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

      AuditSuppression.Builder expirationDate(Instant expirationDate)

      The expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.

      Parameters:
      expirationDate - The expiration date (epoch timestamp in seconds) that you want the suppression to adhere to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • suppressIndefinitely

      AuditSuppression.Builder suppressIndefinitely(Boolean suppressIndefinitely)

      Indicates whether a suppression should exist indefinitely or not.

      Parameters:
      suppressIndefinitely - Indicates whether a suppression should exist indefinitely or not.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      AuditSuppression.Builder description(String description)

      The description of the audit suppression.

      Parameters:
      description - The description of the audit suppression.
      Returns:
      Returns a reference to this object so that method calls can be chained together.