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 Details

    • create

      @Stability(Stable) public static CfnSourceApiAssociation.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnSourceApiAssociation.Builder.
    • description

      @Stability(Stable) public CfnSourceApiAssociation.Builder description(String 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)
      The SourceApiAssociationConfig object data.

      Parameters:
      sourceApiAssociationConfig - The SourceApiAssociationConfig object data. This parameter is required.
      Returns:
      this
    • sourceApiAssociationConfig

      @Stability(Stable) public CfnSourceApiAssociation.Builder sourceApiAssociationConfig(CfnSourceApiAssociation.SourceApiAssociationConfigProperty sourceApiAssociationConfig)
      The SourceApiAssociationConfig object data.

      Parameters:
      sourceApiAssociationConfig - The SourceApiAssociationConfig 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

      @Stability(Stable) public CfnSourceApiAssociation build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnSourceApiAssociation>
      Returns:
      a newly built instance of CfnSourceApiAssociation.