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.BuilderfunctionConfiguration(Consumer<FunctionConfiguration.Builder> functionConfiguration) TheFunctionobject.functionConfiguration(FunctionConfiguration functionConfiguration) TheFunctionobject.Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
functionConfiguration
The
Functionobject.- Parameters:
functionConfiguration- TheFunctionobject.- 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 theFunctionobject.FunctionConfiguration.Builderavoiding the need to create one manually viaFunctionConfiguration.builder().When the
Consumercompletes,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:
-