Interface ImportDocumentationPartsRequest.Builder
-
- All Superinterfaces:
ApiGatewayRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<ImportDocumentationPartsRequest.Builder,ImportDocumentationPartsRequest>,SdkBuilder<ImportDocumentationPartsRequest.Builder,ImportDocumentationPartsRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- ImportDocumentationPartsRequest
public static interface ImportDocumentationPartsRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<ImportDocumentationPartsRequest.Builder,ImportDocumentationPartsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportDocumentationPartsRequest.Builderbody(SdkBytes body)Raw byte array representing the to-be-imported documentation parts.ImportDocumentationPartsRequest.BuilderfailOnWarnings(Boolean failOnWarnings)A query parameter to specify whether to rollback the documentation importation (true) or not (false) when a warning is encountered.ImportDocumentationPartsRequest.Buildermode(String mode)A query parameter to indicate whether to overwrite (overwrite) any existing DocumentationParts definition or to merge (merge) the new definition into the existing one.ImportDocumentationPartsRequest.Buildermode(PutMode mode)A query parameter to indicate whether to overwrite (overwrite) any existing DocumentationParts definition or to merge (merge) the new definition into the existing one.ImportDocumentationPartsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ImportDocumentationPartsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ImportDocumentationPartsRequest.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
ImportDocumentationPartsRequest.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.
-
mode
ImportDocumentationPartsRequest.Builder mode(String mode)
A query parameter to indicate whether to overwrite (
overwrite) any existing DocumentationParts definition or to merge (merge) the new definition into the existing one. The default value ismerge.- Parameters:
mode- A query parameter to indicate whether to overwrite (overwrite) any existing DocumentationParts definition or to merge (merge) the new definition into the existing one. The default value ismerge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PutMode,PutMode
-
mode
ImportDocumentationPartsRequest.Builder mode(PutMode mode)
A query parameter to indicate whether to overwrite (
overwrite) any existing DocumentationParts definition or to merge (merge) the new definition into the existing one. The default value ismerge.- Parameters:
mode- A query parameter to indicate whether to overwrite (overwrite) any existing DocumentationParts definition or to merge (merge) the new definition into the existing one. The default value ismerge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PutMode,PutMode
-
failOnWarnings
ImportDocumentationPartsRequest.Builder failOnWarnings(Boolean failOnWarnings)
A query parameter to specify whether to rollback the documentation importation (
true) or not (false) when a warning is encountered. The default value isfalse.- Parameters:
failOnWarnings- A query parameter to specify whether to rollback the documentation importation (true) or not (false) when a warning is encountered. The default value isfalse.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
body
ImportDocumentationPartsRequest.Builder body(SdkBytes body)
Raw byte array representing the to-be-imported documentation parts. To import from an OpenAPI file, this is a JSON object.
- Parameters:
body- Raw byte array representing the to-be-imported documentation parts. To import from an OpenAPI file, this is a JSON object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ImportDocumentationPartsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ImportDocumentationPartsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-