Package com.pulumi.test
Class TestOptions.Builder
java.lang.Object
com.pulumi.test.TestOptions.Builder
- Enclosing class:
- TestOptions
The builder for
TestOptions-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()organizationName(String organizationName) The organization name.preview(boolean preview) The preview mode.projectName(String projectName) The project name.resourceTransformations(List<ResourceTransformation> resourceTransformations) The stack transformations.rootDirectory(String rootDirectory) The project root directory.The stack name.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
organizationName
The organization name. Defaults to "organization" if not specified.- Parameters:
organizationName- the organization name to use in the test- Returns:
- this
TestOptions.Builder
-
projectName
The project name. Defaults to "project" if not specified.- Parameters:
projectName- the project name to use in the test- Returns:
- this
TestOptions.Builder
-
stackName
The stack name. Defaults to "stack" if not specified.- Parameters:
stackName- the stack name to use in the test- Returns:
- this
TestOptions.Builder
-
rootDirectory
The project root directory. Defaults to "" if not specified.- Parameters:
rootDirectory- the project root directory to use in the test- Returns:
- this
TestOptions.Builder
-
preview
The preview mode. Defaults to false if not specified.- Parameters:
preview- set true if test is a preview or false on normal execution- Returns:
- this
TestOptions.Builder
-
resourceTransformations
public TestOptions.Builder resourceTransformations(List<ResourceTransformation> resourceTransformations) The stack transformations. Defaults to empty if not specified.- Parameters:
resourceTransformations- the transformations to use in test- Returns:
- this
TestOptions.Builder - See Also:
-
build
- Returns:
- a new
TestOptionsfrom thisTestOptions.Builder.
-