public static interface UpdateResourceRequest.Builder extends ApiGatewayRequest.Builder, CopyableBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>
Modifier and Type | Method and Description |
---|---|
UpdateResourceRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateResourceRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateResourceRequest.Builder |
patchOperations(Collection<PatchOperation> patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
|
UpdateResourceRequest.Builder |
patchOperations(Consumer<PatchOperation.Builder>... patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
|
UpdateResourceRequest.Builder |
patchOperations(PatchOperation... patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
|
UpdateResourceRequest.Builder |
resourceId(String resourceId)
The identifier of the Resource resource.
|
UpdateResourceRequest.Builder |
restApiId(String restApiId)
The string identifier of the associated RestApi.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateResourceRequest.Builder restApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.UpdateResourceRequest.Builder resourceId(String resourceId)
The identifier of the Resource resource.
resourceId
- The identifier of the Resource resource.UpdateResourceRequest.Builder patchOperations(Collection<PatchOperation> patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
patchOperations
- A list of update operations to be applied to the specified resource and in the order specified in this
list.UpdateResourceRequest.Builder patchOperations(PatchOperation... patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
patchOperations
- A list of update operations to be applied to the specified resource and in the order specified in this
list.UpdateResourceRequest.Builder patchOperations(Consumer<PatchOperation.Builder>... patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
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 #patchOperations(List)
.patchOperations
- a consumer that will call methods on List.Builder
#patchOperations(List)
UpdateResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateResourceRequest.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.