io.github.cdklabs.awscdk.appsync.utils.ISourceApiAssociationMergeOperationProvider Maven / Gradle / Ivy
Show all versions of awscdk-appsync-utils Show documentation
package io.github.cdklabs.awscdk.appsync.utils;
/**
* This interface for the provider of the custom resource that will be used to initiate a merge operation during Cloudformation update.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-28T00:18:00.307Z")
@software.amazon.jsii.Jsii(module = io.github.cdklabs.awscdk.appsync.utils.$Module.class, fqn = "awscdk-appsync-utils.ISourceApiAssociationMergeOperationProvider")
@software.amazon.jsii.Jsii.Proxy(ISourceApiAssociationMergeOperationProvider.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public interface ISourceApiAssociationMergeOperationProvider extends software.amazon.jsii.JsiiSerializable, software.constructs.IConstruct {
/**
* Service token which is used for identifying the handler used for the merge operation custom resource.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@org.jetbrains.annotations.NotNull java.lang.String getServiceToken();
/**
* This function associates a source api association with the provider.
*
* This method can be used for adding permissions to merge a specific source api association to the custom resource provider.
*
* @param sourceApiAssociation The association to associate. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
void associateSourceApiAssociation(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.appsync.ISourceApiAssociation sourceApiAssociation);
/**
* A proxy class which represents a concrete javascript instance of this type.
*/
@software.amazon.jsii.Internal
final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements io.github.cdklabs.awscdk.appsync.utils.ISourceApiAssociationMergeOperationProvider.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* The tree node.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public final @org.jetbrains.annotations.NotNull software.constructs.Node getNode() {
return software.amazon.jsii.Kernel.get(this, "node", software.amazon.jsii.NativeType.forClass(software.constructs.Node.class));
}
/**
* Service token which is used for identifying the handler used for the merge operation custom resource.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public final @org.jetbrains.annotations.NotNull java.lang.String getServiceToken() {
return software.amazon.jsii.Kernel.get(this, "serviceToken", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* This function associates a source api association with the provider.
*
* This method can be used for adding permissions to merge a specific source api association to the custom resource provider.
*
* @param sourceApiAssociation The association to associate. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
public final void associateSourceApiAssociation(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.appsync.ISourceApiAssociation sourceApiAssociation) {
software.amazon.jsii.Kernel.call(this, "associateSourceApiAssociation", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(sourceApiAssociation, "sourceApiAssociation is required") });
}
}
/**
* Internal default implementation for {@link ISourceApiAssociationMergeOperationProvider}.
*/
@software.amazon.jsii.Internal
interface Jsii$Default extends ISourceApiAssociationMergeOperationProvider, software.constructs.IConstruct.Jsii$Default {
/**
* The tree node.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.NotNull software.constructs.Node getNode() {
return software.amazon.jsii.Kernel.get(this, "node", software.amazon.jsii.NativeType.forClass(software.constructs.Node.class));
}
/**
* Service token which is used for identifying the handler used for the merge operation custom resource.
*/
@Override
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
default @org.jetbrains.annotations.NotNull java.lang.String getServiceToken() {
return software.amazon.jsii.Kernel.get(this, "serviceToken", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
}
/**
* This function associates a source api association with the provider.
*
* This method can be used for adding permissions to merge a specific source api association to the custom resource provider.
*
* @param sourceApiAssociation The association to associate. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@Override
default void associateSourceApiAssociation(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.appsync.ISourceApiAssociation sourceApiAssociation) {
software.amazon.jsii.Kernel.call(this, "associateSourceApiAssociation", software.amazon.jsii.NativeType.VOID, new Object[] { java.util.Objects.requireNonNull(sourceApiAssociation, "sourceApiAssociation is required") });
}
}
}