Interface CreateApiKeyRequest.Builder
-
- All Superinterfaces:
AppSyncRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>
,SdkBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateApiKeyRequest
public static interface CreateApiKeyRequest.Builder extends AppSyncRequest.Builder, SdkPojo, CopyableBuilder<CreateApiKeyRequest.Builder,CreateApiKeyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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)
From the creation time, the time after which the API key expires.CreateApiKeyRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateApiKeyRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
Methods inherited from interface software.amazon.awssdk.services.appsync.model.AppSyncRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
apiId
CreateApiKeyRequest.Builder apiId(String apiId)
The 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.
-
description
CreateApiKeyRequest.Builder description(String 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
CreateApiKeyRequest.Builder expires(Long 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 .
- 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.
-
overrideConfiguration
CreateApiKeyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateApiKeyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-