Package com.pulumi.resources
Class StackOptions
java.lang.Object
com.pulumi.resources.StackOptions
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStackOptions(List<ResourceTransformation> resourceTransformations) Creates aStackOptionsinstance. -
Method Summary
Modifier and TypeMethodDescriptionstatic StackOptions.Builderbuilder()static StackOptionsmerge(StackOptions options1, StackOptions options2) Takes twoStackOptionsvalues and produces a newStackOptionswith the respective properties of "options2" merged over the same properties in "options1".Optional list of transformations to apply to this stack's resources during construction.
-
Field Details
-
Empty
-
-
Constructor Details
-
StackOptions
Creates aStackOptionsinstance.- Parameters:
resourceTransformations- the resource transformations to use- See Also:
-
-
Method Details
-
resourceTransformations
Optional list of transformations to apply to this stack's resources during construction. The transformations are applied in order, and are applied after all the transformations of custom and component resources in the stack.- Returns:
- list of transformations to apply to children resources
-
builder
- Returns:
- a
StackOptionsbuilder instance
-
merge
Takes twoStackOptionsvalues and produces a newStackOptionswith the respective properties of "options2" merged over the same properties in "options1".The original options objects will be unchanged. A new instance will always be returned.
- Parameters:
options1- first options to mergeoptions2- second options to merge- Returns:
- a new
StackOptionswith merged values
-