public static interface CreateGraphqlApiResponse.Builder extends AppSyncResponse.Builder, CopyableBuilder<CreateGraphqlApiResponse.Builder,CreateGraphqlApiResponse>
Modifier and Type | Method and Description |
---|---|
default CreateGraphqlApiResponse.Builder |
graphqlApi(Consumer<GraphqlApi.Builder> graphqlApi)
The
GraphqlApi . |
CreateGraphqlApiResponse.Builder |
graphqlApi(GraphqlApi graphqlApi)
The
GraphqlApi . |
build
copy
apply, build
CreateGraphqlApiResponse.Builder graphqlApi(GraphqlApi graphqlApi)
The GraphqlApi
.
graphqlApi
- The GraphqlApi
.default CreateGraphqlApiResponse.Builder graphqlApi(Consumer<GraphqlApi.Builder> graphqlApi)
The GraphqlApi
.
GraphqlApi.Builder
avoiding the need to create
one manually via GraphqlApi.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to graphqlApi(GraphqlApi)
.graphqlApi
- a consumer that will call methods on GraphqlApi.Builder
graphqlApi(GraphqlApi)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.