Class CfnApiKeyPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnApiKeyPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiKeyPropsMixin>
- Enclosing class:
CfnApiKeyPropsMixin
@Stability(Stable)
public static final class CfnApiKeyPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiKeyPropsMixin>
A fluent builder for
CfnApiKeyPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionUnique AWS AppSync GraphQL API ID for this API key.build()static CfnApiKeyPropsMixin.Buildercreate()static CfnApiKeyPropsMixin.Buildercreate(CfnPropertyMixinOptions options) description(String description) Unique description of your API key.The time after which the API key expires.
-
Method Details
-
create
@Stability(Stable) public static CfnApiKeyPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnApiKeyPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnApiKeyPropsMixin.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
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApiKeyPropsMixin>- Returns:
- a newly built instance of
CfnApiKeyPropsMixin.
-