Class CfnApiMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnApiMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApiMixinProps>
- Enclosing interface:
CfnApiMixinProps
@Stability(Stable)
public static final class CfnApiMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApiMixinProps>
A builder for
CfnApiMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventConfig(CfnApiPropsMixin.EventConfigProperty eventConfig) Sets the value ofCfnApiMixinProps.getEventConfig()eventConfig(IResolvable eventConfig) Sets the value ofCfnApiMixinProps.getEventConfig()Sets the value ofCfnApiMixinProps.getName()ownerContact(String ownerContact) Sets the value ofCfnApiMixinProps.getOwnerContact()Sets the value ofCfnApiMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
eventConfig
Sets the value ofCfnApiMixinProps.getEventConfig()- Parameters:
eventConfig- Describes the authorization configuration for connections, message publishing, message subscriptions, and logging for an Event API.- Returns:
this
-
eventConfig
@Stability(Stable) public CfnApiMixinProps.Builder eventConfig(CfnApiPropsMixin.EventConfigProperty eventConfig) Sets the value ofCfnApiMixinProps.getEventConfig()- Parameters:
eventConfig- Describes the authorization configuration for connections, message publishing, message subscriptions, and logging for an Event API.- Returns:
this
-
name
Sets the value ofCfnApiMixinProps.getName()- Parameters:
name- The name of theApi.- Returns:
this
-
ownerContact
Sets the value ofCfnApiMixinProps.getOwnerContact()- Parameters:
ownerContact- The owner contact information for an API resource. This field accepts any string input with a length of 0 - 256 characters.- Returns:
this
-
tags
Sets the value ofCfnApiMixinProps.getTags()- Parameters:
tags- A set of tags (key-value pairs) for this API.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApiMixinProps>- Returns:
- a new instance of
CfnApiMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-