public static interface CreateApiKeyResponse.Builder extends AppSyncResponse.Builder, CopyableBuilder<CreateApiKeyResponse.Builder,CreateApiKeyResponse>
| Modifier and Type | Method and Description |
|---|---|
CreateApiKeyResponse.Builder |
apiKey(ApiKey apiKey)
The API key.
|
default CreateApiKeyResponse.Builder |
apiKey(Consumer<ApiKey.Builder> apiKey)
The API key.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildCreateApiKeyResponse.Builder apiKey(ApiKey apiKey)
The API key.
apiKey - The API key.default CreateApiKeyResponse.Builder apiKey(Consumer<ApiKey.Builder> apiKey)
The API key.
This is a convenience that creates an instance of theApiKey.Builder avoiding the need to create one
manually via ApiKey.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to apiKey(ApiKey).apiKey - a consumer that will call methods on ApiKey.BuilderapiKey(ApiKey)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.