Class CfnSourceApiAssociation.SourceApiAssociationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.appsync.CfnSourceApiAssociation.SourceApiAssociationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSourceApiAssociation.SourceApiAssociationConfigProperty>
- Enclosing interface:
CfnSourceApiAssociation.SourceApiAssociationConfigProperty
@Stability(Stable)
public static final class CfnSourceApiAssociation.SourceApiAssociationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSourceApiAssociation.SourceApiAssociationConfigProperty>
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mergeType
@Stability(Stable) public CfnSourceApiAssociation.SourceApiAssociationConfigProperty.Builder mergeType(String mergeType) - Parameters:
mergeType
- The property that indicates which merging option is enabled in the source API association. Valid merge types areMANUAL_MERGE
(default) andAUTO_MERGE
. Manual merges are the default behavior and require the user to trigger any changes from the source APIs to the merged API manually. Auto merges subscribe the merged API to the changes performed on the source APIs so that any change in the source APIs are also made to the merged API. Auto merges useMergedApiExecutionRoleArn
to perform merge operations.The following values are valid:
MANUAL_MERGE | AUTO_MERGE
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnSourceApiAssociation.SourceApiAssociationConfigProperty>
- Returns:
- a new instance of
CfnSourceApiAssociation.SourceApiAssociationConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-