Class CustomTestOptions.Builder
java.lang.Object
software.amazon.awscdk.services.synthetics.alpha.CustomTestOptions.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CustomTestOptions>
- Enclosing interface:
CustomTestOptions
@Stability(Deprecated)
@Deprecated
public static final class CustomTestOptions.Builder
extends Object
implements software.amazon.jsii.Builder<CustomTestOptions>
Deprecated.
A builder for
CustomTestOptions-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
code
Deprecated.Sets the value ofCustomTestOptions.getCode()- Parameters:
code- The code of the canary script. This parameter is required.- Returns:
this
-
handler
Deprecated.Sets the value ofCustomTestOptions.getHandler()- Parameters:
handler- The handler for the code. This parameter is required. Must end with.handler.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CustomTestOptions>- Returns:
- a new instance of
CustomTestOptions - Throws:
NullPointerException- if any required attribute was not provided
-