Class CfnSourceApiAssociationMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.appsync.CfnSourceApiAssociationMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSourceApiAssociationMixinProps>
- Enclosing interface:
CfnSourceApiAssociationMixinProps
@Stability(Stable)
public static final class CfnSourceApiAssociationMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSourceApiAssociationMixinProps>
A builder for
CfnSourceApiAssociationMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnSourceApiAssociationMixinProps.getDescription()mergedApiIdentifier(String mergedApiIdentifier) Sets the value ofCfnSourceApiAssociationMixinProps.getMergedApiIdentifier()sourceApiAssociationConfig(CfnSourceApiAssociationPropsMixin.SourceApiAssociationConfigProperty sourceApiAssociationConfig) Sets the value ofCfnSourceApiAssociationMixinProps.getSourceApiAssociationConfig()sourceApiAssociationConfig(IResolvable sourceApiAssociationConfig) Sets the value ofCfnSourceApiAssociationMixinProps.getSourceApiAssociationConfig()sourceApiIdentifier(String sourceApiIdentifier) Sets the value ofCfnSourceApiAssociationMixinProps.getSourceApiIdentifier()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnSourceApiAssociationMixinProps.getDescription()- Parameters:
description- The description field of the association configuration.- Returns:
this
-
mergedApiIdentifier
@Stability(Stable) public CfnSourceApiAssociationMixinProps.Builder mergedApiIdentifier(String mergedApiIdentifier) Sets the value ofCfnSourceApiAssociationMixinProps.getMergedApiIdentifier()- Parameters:
mergedApiIdentifier- The identifier of the AppSync Merged API. This is generated by the AppSync service. In most cases, Merged APIs (especially in your account) only require the API ID value or ARN of the merged API. However, Merged APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the merged API.- Returns:
this
-
sourceApiAssociationConfig
@Stability(Stable) public CfnSourceApiAssociationMixinProps.Builder sourceApiAssociationConfig(IResolvable sourceApiAssociationConfig) Sets the value ofCfnSourceApiAssociationMixinProps.getSourceApiAssociationConfig()- Parameters:
sourceApiAssociationConfig- TheSourceApiAssociationConfigobject data.- Returns:
this
-
sourceApiAssociationConfig
@Stability(Stable) public CfnSourceApiAssociationMixinProps.Builder sourceApiAssociationConfig(CfnSourceApiAssociationPropsMixin.SourceApiAssociationConfigProperty sourceApiAssociationConfig) Sets the value ofCfnSourceApiAssociationMixinProps.getSourceApiAssociationConfig()- Parameters:
sourceApiAssociationConfig- TheSourceApiAssociationConfigobject data.- Returns:
this
-
sourceApiIdentifier
@Stability(Stable) public CfnSourceApiAssociationMixinProps.Builder sourceApiIdentifier(String sourceApiIdentifier) Sets the value ofCfnSourceApiAssociationMixinProps.getSourceApiIdentifier()- Parameters:
sourceApiIdentifier- The identifier of the AppSync Source API. This is generated by the AppSync service. In most cases, source APIs (especially in your account) only require the API ID value or ARN of the source API. However, source APIs from other accounts (cross-account use cases) strictly require the full resource ARN of the source API.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSourceApiAssociationMixinProps>- Returns:
- a new instance of
CfnSourceApiAssociationMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-