Interface GetGraphqlApiResponse.Builder
- All Superinterfaces:
AppSyncResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<GetGraphqlApiResponse.Builder,
,GetGraphqlApiResponse> SdkBuilder<GetGraphqlApiResponse.Builder,
,GetGraphqlApiResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetGraphqlApiResponse
public static interface GetGraphqlApiResponse.Builder
extends AppSyncResponse.Builder, SdkPojo, CopyableBuilder<GetGraphqlApiResponse.Builder,GetGraphqlApiResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetGraphqlApiResponse.Builder
graphqlApi
(Consumer<GraphqlApi.Builder> graphqlApi) TheGraphqlApi
object.graphqlApi
(GraphqlApi graphqlApi) TheGraphqlApi
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
-
graphqlApi
The
GraphqlApi
object.- Parameters:
graphqlApi
- TheGraphqlApi
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
graphqlApi
The
This is a convenience method that creates an instance of theGraphqlApi
object.GraphqlApi.Builder
avoiding the need to create one manually viaGraphqlApi.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tographqlApi(GraphqlApi)
.- Parameters:
graphqlApi
- a consumer that will call methods onGraphqlApi.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-