public static interface CreateTaskRequest.Builder extends SnowDeviceManagementRequest.Builder, SdkPojo, CopyableBuilder<CreateTaskRequest.Builder,CreateTaskRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateTaskRequest.Builder clientToken(String clientToken)
A token ensuring that the action is called only once with the specified details.
clientToken - A token ensuring that the action is called only once with the specified details.CreateTaskRequest.Builder command(Command command)
The task to be performed. Only one task is executed on a device at a time.
command - The task to be performed. Only one task is executed on a device at a time.default CreateTaskRequest.Builder command(Consumer<Command.Builder> command)
The task to be performed. Only one task is executed on a device at a time.
This is a convenience method that creates an instance of theCommand.Builder avoiding the need to
create one manually via Command.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to command(Command).
command - a consumer that will call methods on Command.Buildercommand(Command)CreateTaskRequest.Builder description(String description)
A description of the task and its targets.
description - A description of the task and its targets.CreateTaskRequest.Builder tags(Map<String,String> tags)
Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.
tags - Optional metadata that you assign to a resource. You can use tags to categorize a resource in
different ways, such as by purpose, owner, or environment.CreateTaskRequest.Builder targets(Collection<String> targets)
A list of managed device IDs.
targets - A list of managed device IDs.CreateTaskRequest.Builder targets(String... targets)
A list of managed device IDs.
targets - A list of managed device IDs.CreateTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.