public static interface CreateTypeResponse.Builder extends AppSyncResponse.Builder, CopyableBuilder<CreateTypeResponse.Builder,CreateTypeResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateTypeResponse.Builder |
type(Consumer<Type.Builder> type)
The
Type object. |
CreateTypeResponse.Builder |
type(Type type)
The
Type object. |
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildCreateTypeResponse.Builder type(Type type)
The Type object.
type - The Type object.default CreateTypeResponse.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.