Interface UpdateGatewayResponseRequest.Builder
- All Superinterfaces:
ApiGatewayRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateGatewayResponseRequest.Builder,,UpdateGatewayResponseRequest> SdkBuilder<UpdateGatewayResponseRequest.Builder,,UpdateGatewayResponseRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateGatewayResponseRequest
public static interface UpdateGatewayResponseRequest.Builder
extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<UpdateGatewayResponseRequest.Builder,UpdateGatewayResponseRequest>
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.patchOperations(Collection<PatchOperation> patchOperations) For more information about supported patch operations, see Patch Operations.patchOperations(Consumer<PatchOperation.Builder>... patchOperations) For more information about supported patch operations, see Patch Operations.patchOperations(PatchOperation... patchOperations) For more information about supported patch operations, see Patch Operations.responseType(String responseType) The response type of the associated GatewayResponse.responseType(GatewayResponseType responseType) The response type of the associated GatewayResponse.The string identifier of the associated RestApi.Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
restApiId
The string identifier of the associated RestApi.
- Parameters:
restApiId- The string identifier of the associated RestApi.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
responseType
The response type of the associated GatewayResponse.
- Parameters:
responseType- The response type of the associated GatewayResponse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
responseType
The response type of the associated GatewayResponse.
- Parameters:
responseType- The response type of the associated GatewayResponse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
patchOperations
For more information about supported patch operations, see Patch Operations.
- Parameters:
patchOperations- For more information about supported patch operations, see Patch Operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchOperations
For more information about supported patch operations, see Patch Operations.
- Parameters:
patchOperations- For more information about supported patch operations, see Patch Operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchOperations
UpdateGatewayResponseRequest.Builder patchOperations(Consumer<PatchOperation.Builder>... patchOperations) For more information about supported patch operations, see Patch Operations.
This is a convenience method that creates an instance of thePatchOperation.Builderavoiding the need to create one manually viaPatchOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topatchOperations(List<PatchOperation>).- Parameters:
patchOperations- a consumer that will call methods onPatchOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateGatewayResponseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateGatewayResponseRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-