Interface UpdateModelRequest.Builder
-
- All Superinterfaces:
ApiGatewayRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateModelRequest.Builder,UpdateModelRequest>,SdkBuilder<UpdateModelRequest.Builder,UpdateModelRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateModelRequest
public static interface UpdateModelRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<UpdateModelRequest.Builder,UpdateModelRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateModelRequest.BuildermodelName(String modelName)The name of the model to update.UpdateModelRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateModelRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateModelRequest.BuilderpatchOperations(Collection<PatchOperation> patchOperations)For more information about supported patch operations, see Patch Operations.UpdateModelRequest.BuilderpatchOperations(Consumer<PatchOperation.Builder>... patchOperations)For more information about supported patch operations, see Patch Operations.UpdateModelRequest.BuilderpatchOperations(PatchOperation... patchOperations)For more information about supported patch operations, see Patch Operations.UpdateModelRequest.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
UpdateModelRequest.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.
-
modelName
UpdateModelRequest.Builder modelName(String modelName)
The name of the model to update.
- Parameters:
modelName- The name of the model to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchOperations
UpdateModelRequest.Builder patchOperations(Collection<PatchOperation> patchOperations)
For more information about supported patch operations, see Patch Operations.
- Parameters:
patchOperations- For more information about supported patch operations, see Patch Operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchOperations
UpdateModelRequest.Builder patchOperations(PatchOperation... patchOperations)
For more information about supported patch operations, see Patch Operations.
- Parameters:
patchOperations- For more information about supported patch operations, see Patch Operations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchOperations
UpdateModelRequest.Builder patchOperations(Consumer<PatchOperation.Builder>... patchOperations)
For more information about supported patch operations, see Patch Operations.
This is a convenience method that creates an instance of thePatchOperation.Builderavoiding the need to create one manually viaPatchOperation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#patchOperations(List.) - Parameters:
patchOperations- a consumer that will call methods onPatchOperation.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#patchOperations(java.util.Collection)
-
overrideConfiguration
UpdateModelRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateModelRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-