public static interface UpdateTaskRequest.Builder extends DataSyncRequest.Builder, SdkPojo, CopyableBuilder<UpdateTaskRequest.Builder,UpdateTaskRequest>
Modifier and Type | Method and Description |
---|---|
UpdateTaskRequest.Builder |
name(String name)
The name of the task to update.
|
default UpdateTaskRequest.Builder |
options(Consumer<Options.Builder> options)
Sets the value of the Options property for this object.
|
UpdateTaskRequest.Builder |
options(Options options)
Sets the value of the Options property for this object.
|
UpdateTaskRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateTaskRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateTaskRequest.Builder |
taskArn(String taskArn)
The Amazon Resource Name (ARN) of the resource name of the task to update.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateTaskRequest.Builder taskArn(String taskArn)
The Amazon Resource Name (ARN) of the resource name of the task to update.
taskArn
- The Amazon Resource Name (ARN) of the resource name of the task to update.UpdateTaskRequest.Builder options(Options options)
options
- The new value for the Options property for this object.default UpdateTaskRequest.Builder options(Consumer<Options.Builder> options)
Options.Builder
avoiding the need to create one
manually via Options.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to options(Options)
.options
- a consumer that will call methods on Options.Builder
options(Options)
UpdateTaskRequest.Builder name(String name)
The name of the task to update.
name
- The name of the task to update.UpdateTaskRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateTaskRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.