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. |
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildGetTypeResponse.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.Buildertype(Type)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.