Interface CreateApiKeyRequest.Builder
- All Superinterfaces:
- AppSyncRequest.Builder,- AwsRequest.Builder,- Buildable,- CopyableBuilder<CreateApiKeyRequest.Builder,,- CreateApiKeyRequest> - SdkBuilder<CreateApiKeyRequest.Builder,,- CreateApiKeyRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- CreateApiKeyRequest
@Mutable
@NotThreadSafe
public static interface CreateApiKeyRequest.Builder
extends AppSyncRequest.Builder, SdkPojo, CopyableBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionThe ID for your GraphQL API.description(String description) A description of the purpose of the API key.From the creation time, the time after which the API key expires.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.BuilderbuildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
apiIdThe ID for your GraphQL API. - Parameters:
- apiId- The ID for your GraphQL API.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
descriptionA 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.
 
- 
expiresFrom the creation time, the time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour. The default value for this parameter is 7 days from creation time. For more information, see . - Parameters:
- expires- From the creation time, the time after which the API key expires. The date is represented as seconds since the epoch, rounded down to the nearest hour. The default value for this parameter is 7 days from creation time. For more information, see .
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationCreateApiKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateApiKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-