Interface UpdateDocumentationVersionRequest.Builder
- All Superinterfaces:
ApiGatewayRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateDocumentationVersionRequest.Builder,
,UpdateDocumentationVersionRequest> SdkBuilder<UpdateDocumentationVersionRequest.Builder,
,UpdateDocumentationVersionRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateDocumentationVersionRequest
public static interface UpdateDocumentationVersionRequest.Builder
extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<UpdateDocumentationVersionRequest.Builder,UpdateDocumentationVersionRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondocumentationVersion
(String documentationVersion) The version identifier of the to-be-updated documentation version.overrideConfiguration
(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.The string identifier of the associated RestApi.Methods inherited from interface software.amazon.awssdk.services.apigateway.model.ApiGatewayRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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.
-
documentationVersion
The version identifier of the to-be-updated documentation version.
- Parameters:
documentationVersion
- The version identifier of the to-be-updated documentation version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchOperations
UpdateDocumentationVersionRequest.Builder patchOperations(Collection<PatchOperation> 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
UpdateDocumentationVersionRequest.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.Builder
avoiding the need to create one manually viaPatchOperation.builder()
.When the
Consumer
completes,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
UpdateDocumentationVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateDocumentationVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-