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 Summary
Modifier and TypeMethodDescriptionbuild()
static AssertionsProvider.Builder
(experimental) The handler to use for the lambda function.logRetention
(RetentionDays logRetention) (experimental) How long, in days, the log contents will be retained.(experimental) This determines the uniqueness of each 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
(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
(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
(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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AssertionsProvider>
- Returns:
- a newly built instance of
AssertionsProvider
.
-