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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateDocumentationPartRequest.Builderlocation(Consumer<DocumentationPartLocation.Builder> location)The location of the targeted API entity of the to-be-created documentation part.CreateDocumentationPartRequest.Builderlocation(DocumentationPartLocation location)The location of the targeted API entity of the to-be-created documentation part.CreateDocumentationPartRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateDocumentationPartRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateDocumentationPartRequest.Builderproperties(String properties)The new documentation content map of the targeted API entity.CreateDocumentationPartRequest.BuilderrestApiId(String restApiId)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
restApiId
CreateDocumentationPartRequest.Builder restApiId(String 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
CreateDocumentationPartRequest.Builder location(DocumentationPartLocation 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:
location(DocumentationPartLocation)
-
properties
CreateDocumentationPartRequest.Builder properties(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDocumentationPartRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-