Class AssertionsProvider.Builder

java.lang.Object
software.amazon.awscdk.integtests.alpha.AssertionsProvider.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<AssertionsProvider>
Enclosing class:
AssertionsProvider

@Stability(Experimental) public static final class AssertionsProvider.Builder extends Object implements software.amazon.jsii.Builder<AssertionsProvider>
(experimental) A fluent builder for AssertionsProvider.
  • Method Details

    • create

      @Stability(Experimental) public static AssertionsProvider.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of AssertionsProvider.Builder.
    • handler

      @Stability(Experimental) public AssertionsProvider.Builder handler(String handler)
      (experimental) The handler to use for the lambda function.

      Default: index.handler

      Parameters:
      handler - The handler to use for the lambda function. This parameter is required.
      Returns:
      this
    • logRetention

      @Stability(Experimental) public AssertionsProvider.Builder logRetention(RetentionDays logRetention)
      (experimental) How long, in days, the log contents will be retained.

      Default: - no retention days specified

      Parameters:
      logRetention - How long, in days, the log contents will be retained. This parameter is required.
      Returns:
      this
    • uuid

      @Stability(Experimental) public AssertionsProvider.Builder uuid(String uuid)
      (experimental) This determines the uniqueness of each AssertionsProvider.

      You should only need to provide something different here if you know that you need a separate provider

      Default: - the default uuid is used

      Parameters:
      uuid - This determines the uniqueness of each AssertionsProvider. This parameter is required.
      Returns:
      this
    • build

      @Stability(Experimental) public AssertionsProvider build()
      Specified by:
      build in interface software.amazon.jsii.Builder<AssertionsProvider>
      Returns:
      a newly built instance of AssertionsProvider.