public static interface UpdateApiKeyResponse.Builder extends AppSyncResponse.Builder, SdkPojo, CopyableBuilder<UpdateApiKeyResponse.Builder,UpdateApiKeyResponse>
Modifier and Type | Method and Description |
---|---|
UpdateApiKeyResponse.Builder |
apiKey(ApiKey apiKey)
The API key.
|
default UpdateApiKeyResponse.Builder |
apiKey(Consumer<ApiKey.Builder> apiKey)
The API key.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
UpdateApiKeyResponse.Builder apiKey(ApiKey apiKey)
The API key.
apiKey
- The API key.default UpdateApiKeyResponse.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.Builder
apiKey(ApiKey)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.