public static final class CustomTestOptions.Builder
extends java.lang.Object
CustomTestOptions
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CustomTestOptions |
build()
Builds the configured instance.
|
CustomTestOptions.Builder |
code(Code code)
Sets the value of
CustomTestOptions.getCode() |
CustomTestOptions.Builder |
handler(java.lang.String handler)
Sets the value of
CustomTestOptions.getHandler() |
public CustomTestOptions.Builder code(Code code)
CustomTestOptions.getCode()
code
- The code of the canary script. This parameter is required.this
public CustomTestOptions.Builder handler(java.lang.String handler)
CustomTestOptions.getHandler()
handler
- The handler for the code. This parameter is required.
Must end with .handler
.this
public CustomTestOptions build()
CustomTestOptions
java.lang.NullPointerException
- if any required attribute was not provided