public static interface UpdateMethodResponseRequest.Builder extends ApiGatewayRequest.Builder, CopyableBuilder<UpdateMethodResponseRequest.Builder,UpdateMethodResponseRequest>
Modifier and Type | Method and Description |
---|---|
UpdateMethodResponseRequest.Builder |
httpMethod(String httpMethod)
The HTTP verb of the Method resource.
|
UpdateMethodResponseRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateMethodResponseRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateMethodResponseRequest.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.
|
UpdateMethodResponseRequest.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.
|
UpdateMethodResponseRequest.Builder |
patchOperations(PatchOperation... patchOperations)
A list of update operations to be applied to the specified resource and in the order specified in this list.
|
UpdateMethodResponseRequest.Builder |
resourceId(String resourceId)
The Resource identifier for the MethodResponse resource.
|
UpdateMethodResponseRequest.Builder |
restApiId(String restApiId)
The string identifier of the associated RestApi.
|
UpdateMethodResponseRequest.Builder |
statusCode(String statusCode)
The status code for the MethodResponse resource.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateMethodResponseRequest.Builder restApiId(String restApiId)
The string identifier of the associated RestApi.
restApiId
- The string identifier of the associated RestApi.UpdateMethodResponseRequest.Builder resourceId(String resourceId)
The Resource identifier for the MethodResponse resource.
resourceId
- The Resource identifier for the MethodResponse resource.UpdateMethodResponseRequest.Builder httpMethod(String httpMethod)
The HTTP verb of the Method resource.
httpMethod
- The HTTP verb of the Method resource.UpdateMethodResponseRequest.Builder statusCode(String statusCode)
The status code for the MethodResponse resource.
statusCode
- The status code for the MethodResponse resource.UpdateMethodResponseRequest.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.UpdateMethodResponseRequest.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.UpdateMethodResponseRequest.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)
UpdateMethodResponseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateMethodResponseRequest.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.