Interface UpdateApiKeyResponse.Builder
- All Superinterfaces:
AppSyncResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<UpdateApiKeyResponse.Builder,,UpdateApiKeyResponse> SdkBuilder<UpdateApiKeyResponse.Builder,,UpdateApiKeyResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateApiKeyResponse
public static interface UpdateApiKeyResponse.Builder
extends AppSyncResponse.Builder, SdkPojo, CopyableBuilder<UpdateApiKeyResponse.Builder,UpdateApiKeyResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateApiKeyResponse.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, 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:
-