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 |
properties(String properties)
[Required] The new documentation content map of the targeted API entity.
|
CreateDocumentationPartRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateDocumentationPartRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateDocumentationPartRequest.Builder |
restApiId(String restApiId)
[Required] The string identifier of the associated RestApi.
|
buildrequestOverrideConfigcopyapply, buildCreateDocumentationPartRequest.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.Builderlocation(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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.CreateDocumentationPartRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.