Interface CreateApiKeyResponse.Builder
- All Superinterfaces:
 AppSyncResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<CreateApiKeyResponse.Builder,,CreateApiKeyResponse> SdkBuilder<CreateApiKeyResponse.Builder,,CreateApiKeyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 CreateApiKeyResponse
public static interface CreateApiKeyResponse.Builder
extends AppSyncResponse.Builder, SdkPojo, CopyableBuilder<CreateApiKeyResponse.Builder,CreateApiKeyResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault CreateApiKeyResponse.BuilderapiKey(Consumer<ApiKey.Builder> apiKey) The API key.The API key.Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
apiKey
The API key.
- Parameters:
 apiKey- The API key.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
apiKey
The API key.
This is a convenience method that creates an instance of theApiKey.Builderavoiding the need to create one manually viaApiKey.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toapiKey(ApiKey).- Parameters:
 apiKey- a consumer that will call methods onApiKey.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -