Class CfnApiKey.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.CfnApiKey.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiKey>
- Enclosing class:
CfnApiKey
@Stability(Stable)
public static final class CfnApiKey.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiKey>
A fluent builder for
CfnApiKey.-
Method Summary
Modifier and TypeMethodDescriptionUnique AWS AppSync GraphQL API ID for this API key.build()static CfnApiKey.Builderdescription(String description) Unique description of your API key.The time after which the API key expires.
-
Method Details
-
create
@Stability(Stable) public static CfnApiKey.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnApiKey.Builder.
-
apiId
Unique AWS AppSync GraphQL API ID for this API key.- Parameters:
apiId- Unique AWS AppSync GraphQL API ID for this API key. This parameter is required.- Returns:
this- See Also:
-
description
Unique description of your API key.- Parameters:
description- Unique description of your API key. This parameter is required.- Returns:
this- See Also:
-
expires
The time after which the API key expires.The date is represented as seconds since the epoch, rounded down to the nearest hour.
- Parameters:
expires- The time after which the API key expires. This parameter is required.- Returns:
this- See Also:
-
build
-