public static interface CreateApiKeyRequest.Builder extends AppSyncRequest.Builder, SdkPojo, CopyableBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>
Modifier and Type | Method and Description |
---|---|
CreateApiKeyRequest.Builder |
apiId(String apiId)
The ID for your GraphQL API.
|
CreateApiKeyRequest.Builder |
description(String description)
A description of the purpose of the API key.
|
CreateApiKeyRequest.Builder |
expires(Long expires)
The time from creation time after which the API key expires.
|
CreateApiKeyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateApiKeyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
CreateApiKeyRequest.Builder apiId(String apiId)
The ID for your GraphQL API.
apiId
- The ID for your GraphQL API.CreateApiKeyRequest.Builder description(String description)
A description of the purpose of the API key.
description
- A description of the purpose of the API key.CreateApiKeyRequest.Builder expires(Long expires)
The time from creation 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 .
expires
- The time from creation 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 .CreateApiKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateApiKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.