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
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.
-
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.Builderavoiding the need to create one manually viaDocumentationPartLocation.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.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.
-