Class RandomShuffleState.Builder

  • Enclosing class:
    RandomShuffleState

    public static final class RandomShuffleState.Builder
    extends java.lang.Object
    • Method Detail

      • inputs

        public RandomShuffleState.Builder inputs​(@Nullable
                                                 com.pulumi.core.Output<java.util.List<java.lang.String>> inputs)
        Parameters:
        inputs - The list of strings to shuffle.
        Returns:
        builder
      • inputs

        public RandomShuffleState.Builder inputs​(java.util.List<java.lang.String> inputs)
        Parameters:
        inputs - The list of strings to shuffle.
        Returns:
        builder
      • inputs

        public RandomShuffleState.Builder inputs​(java.lang.String... inputs)
        Parameters:
        inputs - The list of strings to shuffle.
        Returns:
        builder
      • keepers

        public RandomShuffleState.Builder keepers​(@Nullable
                                                  com.pulumi.core.Output<java.util.Map<java.lang.String,​java.lang.String>> keepers)
        Parameters:
        keepers - Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
        Returns:
        builder
      • keepers

        public RandomShuffleState.Builder keepers​(java.util.Map<java.lang.String,​java.lang.String> keepers)
        Parameters:
        keepers - Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information.
        Returns:
        builder
      • resultCount

        public RandomShuffleState.Builder resultCount​(@Nullable
                                                      com.pulumi.core.Output<java.lang.Integer> resultCount)
        Parameters:
        resultCount - The number of results to return. Defaults to the number of items in the `input` list. If fewer items are requested, some elements will be excluded from the result. If more items are requested, items will be repeated in the result but not more frequently than the number of items in the input list.
        Returns:
        builder
      • resultCount

        public RandomShuffleState.Builder resultCount​(java.lang.Integer resultCount)
        Parameters:
        resultCount - The number of results to return. Defaults to the number of items in the `input` list. If fewer items are requested, some elements will be excluded from the result. If more items are requested, items will be repeated in the result but not more frequently than the number of items in the input list.
        Returns:
        builder
      • results

        public RandomShuffleState.Builder results​(@Nullable
                                                  com.pulumi.core.Output<java.util.List<java.lang.String>> results)
        Parameters:
        results - Random permutation of the list of strings given in `input`.
        Returns:
        builder
      • results

        public RandomShuffleState.Builder results​(java.util.List<java.lang.String> results)
        Parameters:
        results - Random permutation of the list of strings given in `input`.
        Returns:
        builder
      • results

        public RandomShuffleState.Builder results​(java.lang.String... results)
        Parameters:
        results - Random permutation of the list of strings given in `input`.
        Returns:
        builder
      • seed

        public RandomShuffleState.Builder seed​(@Nullable
                                               com.pulumi.core.Output<java.lang.String> seed)
        Parameters:
        seed - Arbitrary string with which to seed the random number generator, in order to produce less-volatile permutations of the list.
        Returns:
        builder
      • seed

        public RandomShuffleState.Builder seed​(java.lang.String seed)
        Parameters:
        seed - Arbitrary string with which to seed the random number generator, in order to produce less-volatile permutations of the list.
        Returns:
        builder