Class StackOptions

    • Constructor Detail

      • StackOptions

        public StackOptions​(java.util.List<ResourceTransformation> resourceTransformations)
        Creates a StackOptions instance.
        Parameters:
        resourceTransformations - the resource transformations to use
        See Also:
        builder()
    • Method Detail

      • resourceTransformations

        public java.util.List<ResourceTransformation> 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
      • merge

        public static StackOptions merge​(@Nullable
                                         StackOptions options1,
                                         @Nullable
                                         StackOptions options2)
        Takes two StackOptions values and produces a new StackOptions with 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 merge
        options2 - second options to merge
        Returns:
        a new StackOptions with merged values