Class CfnSourceApiAssociation.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.CfnSourceApiAssociation.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSourceApiAssociation>
- Enclosing class:
- CfnSourceApiAssociation
@Stability(Stable)
public static final class CfnSourceApiAssociation.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSourceApiAssociation>
A fluent builder for
CfnSourceApiAssociation
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
description
(String description) The description field of the association configuration.mergedApiIdentifier
(String mergedApiIdentifier) The identifier of the AppSync Merged API.sourceApiAssociationConfig
(IResolvable sourceApiAssociationConfig) TheSourceApiAssociationConfig
object data.sourceApiAssociationConfig
(CfnSourceApiAssociation.SourceApiAssociationConfigProperty sourceApiAssociationConfig) TheSourceApiAssociationConfig
object data.sourceApiIdentifier
(String sourceApiIdentifier) The identifier of the AppSync Source API.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnSourceApiAssociation.Builder
.
-
description
The description field of the association configuration.- Parameters:
description
- The description field of the association configuration. This parameter is required.- Returns:
this
-
mergedApiIdentifier
@Stability(Stable) public CfnSourceApiAssociation.Builder mergedApiIdentifier(String 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.
- Parameters:
mergedApiIdentifier
- The identifier of the AppSync Merged API. This parameter is required.- Returns:
this
-
sourceApiAssociationConfig
@Stability(Stable) public CfnSourceApiAssociation.Builder sourceApiAssociationConfig(IResolvable sourceApiAssociationConfig) TheSourceApiAssociationConfig
object data.- Parameters:
sourceApiAssociationConfig
- TheSourceApiAssociationConfig
object data. This parameter is required.- Returns:
this
-
sourceApiAssociationConfig
@Stability(Stable) public CfnSourceApiAssociation.Builder sourceApiAssociationConfig(CfnSourceApiAssociation.SourceApiAssociationConfigProperty sourceApiAssociationConfig) TheSourceApiAssociationConfig
object data.- Parameters:
sourceApiAssociationConfig
- TheSourceApiAssociationConfig
object data. This parameter is required.- Returns:
this
-
sourceApiIdentifier
@Stability(Stable) public CfnSourceApiAssociation.Builder sourceApiIdentifier(String 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.
- Parameters:
sourceApiIdentifier
- The identifier of the AppSync Source API. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSourceApiAssociation>
- Returns:
- a newly built instance of
CfnSourceApiAssociation
.
-