Interface UpdateApiKeyRequest.Builder
- All Superinterfaces:
AppSyncRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<UpdateApiKeyRequest.Builder,,UpdateApiKeyRequest> SdkBuilder<UpdateApiKeyRequest.Builder,,UpdateApiKeyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateApiKeyRequest
public static interface UpdateApiKeyRequest.Builder
extends AppSyncRequest.Builder, SdkPojo, CopyableBuilder<UpdateApiKeyRequest.Builder,UpdateApiKeyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe ID for the GraphQL API.description(String description) A description of the purpose of the API key.From the update time, the time after which the API key expires.The API key ID.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFields
-
Method Details
-
apiId
The ID for the GraphQL API.
- Parameters:
apiId- The ID for the GraphQL API.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The API key ID.
- Parameters:
id- The API key ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the purpose of the API key.
- Parameters:
description- A description of the purpose of the API key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expires
From the update time, the time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .
- Parameters:
expires- From the update time, the time after which the API key expires. The date is represented as seconds since the epoch. For more information, see .- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateApiKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateApiKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-