Interface GetModelRequest.Builder
- All Superinterfaces:
ApiGatewayRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<GetModelRequest.Builder,
,GetModelRequest> SdkBuilder<GetModelRequest.Builder,
,GetModelRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetModelRequest
public static interface GetModelRequest.Builder
extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<GetModelRequest.Builder,GetModelRequest>
-
Method Summary
Modifier and TypeMethodDescriptionA query parameter of a Boolean value to resolve (true
) all external model references and returns a flattened model schema or not (false
) The default isfalse
.The name of the model as an identifier.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The RestApi identifier under which the Model exists.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, sdkFields
-
Method Details
-
restApiId
The RestApi identifier under which the Model exists.
- Parameters:
restApiId
- The RestApi identifier under which the Model exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modelName
The name of the model as an identifier.
- Parameters:
modelName
- The name of the model as an identifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flatten
A query parameter of a Boolean value to resolve (
true
) all external model references and returns a flattened model schema or not (false
) The default isfalse
.- Parameters:
flatten
- A query parameter of a Boolean value to resolve (true
) all external model references and returns a flattened model schema or not (false
) The default isfalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetModelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetModelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-