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