public static interface CreateDocumentationPartRequest.Builder extends ApiGatewayRequest.Builder, CopyableBuilder<CreateDocumentationPartRequest.Builder,CreateDocumentationPartRequest>
Modifier and Type | Method and Description |
---|---|
default CreateDocumentationPartRequest.Builder |
location(Consumer<DocumentationPartLocation.Builder> location)
[Required] The location of the targeted API entity of the to-be-created documentation part.
|
CreateDocumentationPartRequest.Builder |
location(DocumentationPartLocation location)
[Required] The location of the targeted API entity of the to-be-created documentation part.
|
CreateDocumentationPartRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateDocumentationPartRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateDocumentationPartRequest.Builder |
properties(String properties)
[Required] The new documentation content map of the targeted API entity.
|
CreateDocumentationPartRequest.Builder |
restApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
|
build
overrideConfiguration
copy
applyMutation, build
CreateDocumentationPartRequest.Builder restApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
restApiId
- [Required] The string identifier of the associated RestApi.CreateDocumentationPartRequest.Builder location(DocumentationPartLocation location)
[Required] The location of the targeted API entity of the to-be-created documentation part.
location
- [Required] The location of the targeted API entity of the to-be-created documentation part.default CreateDocumentationPartRequest.Builder location(Consumer<DocumentationPartLocation.Builder> location)
[Required] The location of the targeted API entity of the to-be-created documentation part.
This is a convenience that creates an instance of theDocumentationPartLocation.Builder
avoiding the
need to create one manually via DocumentationPartLocation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately
and its result is passed to location(DocumentationPartLocation)
.location
- a consumer that will call methods on DocumentationPartLocation.Builder
location(DocumentationPartLocation)
CreateDocumentationPartRequest.Builder properties(String properties)
[Required] The new documentation content map of the targeted API entity. Enclosed key-value pairs are API-specific, but only Swagger-compliant key-value pairs can be exported and, hence, published.
properties
- [Required] The new documentation content map of the targeted API entity. Enclosed key-value pairs are
API-specific, but only Swagger-compliant key-value pairs can be exported and, hence, published.CreateDocumentationPartRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateDocumentationPartRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.