Interface SourceApi
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
SourceApi.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-22T02:23:57.206Z")
@Stability(Stable)
public interface SourceApi
extends software.amazon.jsii.JsiiSerializable
Configuration of source API.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appsync.*; GraphqlApi graphqlApi; SourceApi sourceApi = SourceApi.builder() .sourceApi(graphqlApi) // the properties below are optional .description("description") .mergeType(MergeType.MANUAL_MERGE) .build();
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SourceApi.Builder
builder()
default String
Description of the Source API asssociation.default MergeType
Merging option used to associate the source API to the Merged API.Source API that is associated with the merged API.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getSourceApi
Source API that is associated with the merged API. -
getDescription
Description of the Source API asssociation. -
getMergeType
Merging option used to associate the source API to the Merged API.Default: - Auto merge. The merge is triggered automatically when the source API has changed
-
builder
- Returns:
- a
SourceApi.Builder
ofSourceApi
-