Interface CreateFunctionResponse.Builder
- All Superinterfaces:
AppSyncResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateFunctionResponse.Builder,
,CreateFunctionResponse> SdkBuilder<CreateFunctionResponse.Builder,
,CreateFunctionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateFunctionResponse
public static interface CreateFunctionResponse.Builder
extends AppSyncResponse.Builder, SdkPojo, CopyableBuilder<CreateFunctionResponse.Builder,CreateFunctionResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateFunctionResponse.Builder
functionConfiguration
(Consumer<FunctionConfiguration.Builder> functionConfiguration) TheFunction
object.functionConfiguration
(FunctionConfiguration functionConfiguration) TheFunction
object.Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
functionConfiguration
The
Function
object.- Parameters:
functionConfiguration
- TheFunction
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functionConfiguration
default CreateFunctionResponse.Builder functionConfiguration(Consumer<FunctionConfiguration.Builder> functionConfiguration) The
This is a convenience method that creates an instance of theFunction
object.FunctionConfiguration.Builder
avoiding the need to create one manually viaFunctionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofunctionConfiguration(FunctionConfiguration)
.- Parameters:
functionConfiguration
- a consumer that will call methods onFunctionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-