Interface CreateDocumentationPartRequest.Builder
- All Superinterfaces:
ApiGatewayRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDocumentationPartRequest.Builder,
,CreateDocumentationPartRequest> SdkBuilder<CreateDocumentationPartRequest.Builder,
,CreateDocumentationPartRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateDocumentationPartRequest
public static interface CreateDocumentationPartRequest.Builder
extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<CreateDocumentationPartRequest.Builder,CreateDocumentationPartRequest>
-
Method Summary
Modifier and TypeMethodDescriptionlocation
(Consumer<DocumentationPartLocation.Builder> location) The location of the targeted API entity of the to-be-created documentation part.location
(DocumentationPartLocation location) The location of the targeted API entity of the to-be-created documentation part.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.properties
(String properties) The new documentation content map of the targeted API entity.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.
-
location
The location of the targeted API entity of the to-be-created documentation part.
- Parameters:
location
- The location of the targeted API entity of the to-be-created documentation part.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
default CreateDocumentationPartRequest.Builder location(Consumer<DocumentationPartLocation.Builder> location) The location of the targeted API entity of the to-be-created documentation part.
This is a convenience method that creates an instance of theDocumentationPartLocation.Builder
avoiding the need to create one manually viaDocumentationPartLocation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolocation(DocumentationPartLocation)
.- Parameters:
location
- a consumer that will call methods onDocumentationPartLocation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
properties
The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.
- Parameters:
properties
- The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only OpenAPI-compliant key-value pairs can be exported and, hence, published.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDocumentationPartRequest.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
CreateDocumentationPartRequest.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.
-