Class CfnApiPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnApiPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiPropsMixin>
- Enclosing class:
CfnApiPropsMixin
@Stability(Stable)
public static final class CfnApiPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiPropsMixin>
A fluent builder for
CfnApiPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()static CfnApiPropsMixin.Buildercreate()static CfnApiPropsMixin.Buildercreate(CfnPropertyMixinOptions options) eventConfig(CfnApiPropsMixin.EventConfigProperty eventConfig) Describes the authorization configuration for connections, message publishing, message subscriptions, and logging for an Event API.eventConfig(IResolvable eventConfig) Describes the authorization configuration for connections, message publishing, message subscriptions, and logging for an Event API.The name of theApi.ownerContact(String ownerContact) The owner contact information for an API resource.A set of tags (key-value pairs) for this API.
-
Method Details
-
create
- Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnApiPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnApiPropsMixin.Builder.
-
eventConfig
Describes the authorization configuration for connections, message publishing, message subscriptions, and logging for an Event API.- Parameters:
eventConfig- Describes the authorization configuration for connections, message publishing, message subscriptions, and logging for an Event API. This parameter is required.- Returns:
this- See Also:
-
eventConfig
@Stability(Stable) public CfnApiPropsMixin.Builder eventConfig(CfnApiPropsMixin.EventConfigProperty eventConfig) Describes the authorization configuration for connections, message publishing, message subscriptions, and logging for an Event API.- Parameters:
eventConfig- Describes the authorization configuration for connections, message publishing, message subscriptions, and logging for an Event API. This parameter is required.- Returns:
this- See Also:
-
name
The name of theApi.- Parameters:
name- The name of theApi. This parameter is required.- Returns:
this- See Also:
-
ownerContact
The owner contact information for an API resource.This field accepts any string input with a length of 0 - 256 characters.
- Parameters:
ownerContact- The owner contact information for an API resource. This parameter is required.- Returns:
this- See Also:
-
tags
A set of tags (key-value pairs) for this API.- Parameters:
tags- A set of tags (key-value pairs) for this API. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApiPropsMixin>- Returns:
- a newly built instance of
CfnApiPropsMixin.
-