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
@Stability(Stable) public static CfnSourceApiAssociation.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- 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
- See Also:
-
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
- See Also:
-
sourceApiAssociationConfig
@Stability(Stable) public CfnSourceApiAssociation.Builder sourceApiAssociationConfig(IResolvable sourceApiAssociationConfig) TheSourceApiAssociationConfig
object data.- Parameters:
sourceApiAssociationConfig
- TheSourceApiAssociationConfig
object data. This parameter is required.- Returns:
this
- See Also:
-
sourceApiAssociationConfig
@Stability(Stable) public CfnSourceApiAssociation.Builder sourceApiAssociationConfig(CfnSourceApiAssociation.SourceApiAssociationConfigProperty sourceApiAssociationConfig) TheSourceApiAssociationConfig
object data.- Parameters:
sourceApiAssociationConfig
- TheSourceApiAssociationConfig
object data. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSourceApiAssociation>
- Returns:
- a newly built instance of
CfnSourceApiAssociation
.
-