Class AssertionsProviderProps.Builder
java.lang.Object
software.amazon.awscdk.integtests.alpha.AssertionsProviderProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<AssertionsProviderProps>
- Enclosing interface:
AssertionsProviderProps
@Stability(Experimental)
public static final class AssertionsProviderProps.Builder
extends Object
implements software.amazon.jsii.Builder<AssertionsProviderProps>
A builder for
AssertionsProviderProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofLambdaFunctionProviderProps.getHandler()
logRetention
(RetentionDays logRetention) Sets the value ofLambdaFunctionProviderProps.getLogRetention()
Sets the value ofAssertionsProviderProps.getUuid()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
uuid
Sets the value ofAssertionsProviderProps.getUuid()
- Parameters:
uuid
- 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- Returns:
this
-
handler
Sets the value ofLambdaFunctionProviderProps.getHandler()
- Parameters:
handler
- The handler to use for the lambda function.- Returns:
this
-
logRetention
@Stability(Experimental) public AssertionsProviderProps.Builder logRetention(RetentionDays logRetention) Sets the value ofLambdaFunctionProviderProps.getLogRetention()
- Parameters:
logRetention
- How long, in days, the log contents will be retained.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<AssertionsProviderProps>
- Returns:
- a new instance of
AssertionsProviderProps
- Throws:
NullPointerException
- if any required attribute was not provided
-