Package com.pulumi.random.inputs
Class RandomShuffleState.Builder
- java.lang.Object
-
- com.pulumi.random.inputs.RandomShuffleState.Builder
-
- Enclosing class:
- RandomShuffleState
public static final class RandomShuffleState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(RandomShuffleState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RandomShuffleStatebuild()RandomShuffleState.Builderinputs(com.pulumi.core.Output<java.util.List<java.lang.String>> inputs)RandomShuffleState.Builderinputs(java.lang.String... inputs)RandomShuffleState.Builderinputs(java.util.List<java.lang.String> inputs)RandomShuffleState.Builderkeepers(com.pulumi.core.Output<java.util.Map<java.lang.String,java.lang.String>> keepers)RandomShuffleState.Builderkeepers(java.util.Map<java.lang.String,java.lang.String> keepers)RandomShuffleState.BuilderresultCount(com.pulumi.core.Output<java.lang.Integer> resultCount)RandomShuffleState.BuilderresultCount(java.lang.Integer resultCount)RandomShuffleState.Builderresults(com.pulumi.core.Output<java.util.List<java.lang.String>> results)RandomShuffleState.Builderresults(java.lang.String... results)RandomShuffleState.Builderresults(java.util.List<java.lang.String> results)RandomShuffleState.Builderseed(com.pulumi.core.Output<java.lang.String> seed)RandomShuffleState.Builderseed(java.lang.String seed)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(RandomShuffleState defaults)
-
-
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
-
build
public RandomShuffleState build()
-
-