public static interface RunCommandParameters.Builder extends CopyableBuilder<RunCommandParameters.Builder,RunCommandParameters>
| Modifier and Type | Method and Description |
|---|---|
RunCommandParameters.Builder |
runCommandTargets(Collection<RunCommandTarget> runCommandTargets)
Currently, we support including only one RunCommandTarget block, which specifies either an array of
InstanceIds or a tag.
|
RunCommandParameters.Builder |
runCommandTargets(Consumer<RunCommandTarget.Builder>... runCommandTargets)
Currently, we support including only one RunCommandTarget block, which specifies either an array of
InstanceIds or a tag.
|
RunCommandParameters.Builder |
runCommandTargets(RunCommandTarget... runCommandTargets)
Currently, we support including only one RunCommandTarget block, which specifies either an array of
InstanceIds or a tag.
|
copyapply, buildRunCommandParameters.Builder runCommandTargets(Collection<RunCommandTarget> runCommandTargets)
Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.
runCommandTargets - Currently, we support including only one RunCommandTarget block, which specifies either an array of
InstanceIds or a tag.RunCommandParameters.Builder runCommandTargets(RunCommandTarget... runCommandTargets)
Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.
runCommandTargets - Currently, we support including only one RunCommandTarget block, which specifies either an array of
InstanceIds or a tag.RunCommandParameters.Builder runCommandTargets(Consumer<RunCommandTarget.Builder>... runCommandTargets)
Currently, we support including only one RunCommandTarget block, which specifies either an array of InstanceIds or a tag.
This is a convenience that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #runCommandTargets(List) .runCommandTargets - a consumer that will call methods on List.Builder #runCommandTargets(List) Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.