Class RefreshOptions.Builder

    • Method Detail

      • expectNoChanges

        public RefreshOptions.Builder expectNoChanges​(boolean expectNoChanges)
        Return an error if any changes are proposed by this preview.
        Parameters:
        expectNoChanges - true if the preview should fail if any changes are proposed
        Returns:
        the builder
      • showSecrets

        public RefreshOptions.Builder showSecrets​(boolean showSecrets)
        Sets whether to show config secrets when they appear.
        Parameters:
        showSecrets - the show secrets flag
        Returns:
        the builder
      • skipPendingCreates

        public RefreshOptions.Builder skipPendingCreates​(boolean skipPendingCreates)
        Ignores any pending create operations
        Parameters:
        skipPendingCreates - whether to skip pending creates
        Returns:
        the builder
      • clearPendingCreates

        public RefreshOptions.Builder clearPendingCreates​(boolean clearPendingCreates)
        Removes any pending create operations from the stack
        Parameters:
        clearPendingCreates - whether to clear pending creates
        Returns:
        the builder
      • importPendingCreates

        public RefreshOptions.Builder importPendingCreates​(java.util.List<PendingCreateValue> importPendingCreates)
        Sets the values to import into the stack
        Parameters:
        importPendingCreates - the list of pending create values
        Returns:
        the builder