Interface UpdateResourceRequest.Builder
-
- All Superinterfaces:
ApiGatewayRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>,SdkBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateResourceRequest
public static interface UpdateResourceRequest.Builder extends ApiGatewayRequest.Builder, SdkPojo, CopyableBuilder<UpdateResourceRequest.Builder,UpdateResourceRequest>
-
-
Method Summary
-
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
UpdateResourceRequest.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.
-
resourceId
UpdateResourceRequest.Builder resourceId(String resourceId)
The identifier of the Resource resource.
- Parameters:
resourceId- The identifier of the Resource resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
patchOperations
UpdateResourceRequest.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
UpdateResourceRequest.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
UpdateResourceRequest.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
UpdateResourceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateResourceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-