Package com.pulumi.random
Class RandomShuffleArgs.Builder
- java.lang.Object
-
- com.pulumi.random.RandomShuffleArgs.Builder
-
- Enclosing class:
- RandomShuffleArgs
public static final class RandomShuffleArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(RandomShuffleArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RandomShuffleArgsbuild()RandomShuffleArgs.Builderinputs(com.pulumi.core.Output<java.util.List<java.lang.String>> inputs)RandomShuffleArgs.Builderinputs(java.lang.String... inputs)RandomShuffleArgs.Builderinputs(java.util.List<java.lang.String> inputs)RandomShuffleArgs.Builderkeepers(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> keepers)RandomShuffleArgs.Builderkeepers(java.util.Map<java.lang.String,java.lang.String> keepers)RandomShuffleArgs.BuilderresultCount(com.pulumi.core.Output<java.lang.Integer> resultCount)RandomShuffleArgs.BuilderresultCount(java.lang.Integer resultCount)RandomShuffleArgs.Builderseed(com.pulumi.core.Output<java.lang.String> seed)RandomShuffleArgs.Builderseed(java.lang.String seed)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RandomShuffleArgs defaults)
-
-
Method Detail
-
inputs
public RandomShuffleArgs.Builder inputs(com.pulumi.core.Output<java.util.List<java.lang.String>> inputs)
- Parameters:
inputs- The list of strings to shuffle.- Returns:
- builder
-
inputs
public RandomShuffleArgs.Builder inputs(java.util.List<java.lang.String> inputs)
- Parameters:
inputs- The list of strings to shuffle.- Returns:
- builder
-
inputs
public RandomShuffleArgs.Builder inputs(java.lang.String... inputs)
- Parameters:
inputs- The list of strings to shuffle.- Returns:
- builder
-
keepers
public RandomShuffleArgs.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 RandomShuffleArgs.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 RandomShuffleArgs.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 RandomShuffleArgs.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
-
seed
public RandomShuffleArgs.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 RandomShuffleArgs.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
-
build
public RandomShuffleArgs build()
-
-