io.github.cdklabs.projen.IDockerComposeVolumeBinding Maven / Gradle / Ivy
Show all versions of projen Show documentation
package io.github.cdklabs.projen;
/**
* (experimental) Volume binding information.
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.105.0 (build 0a2adcb)", date = "2024-11-15T17:03:54.797Z")
@software.amazon.jsii.Jsii(module = io.github.cdklabs.projen.$Module.class, fqn = "projen.IDockerComposeVolumeBinding")
@software.amazon.jsii.Jsii.Proxy(IDockerComposeVolumeBinding.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface IDockerComposeVolumeBinding extends software.amazon.jsii.JsiiSerializable {
/**
* (experimental) Binds the requested volume to the docker-compose volume configuration and provide mounting instructions for synthesis.
*
* @return mounting instructions for the service.
* @param volumeConfig the volume configuration. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@org.jetbrains.annotations.NotNull io.github.cdklabs.projen.DockerComposeVolumeMount bind(final @org.jetbrains.annotations.NotNull io.github.cdklabs.projen.IDockerComposeVolumeConfig volumeConfig);
/**
* 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.projen.IDockerComposeVolumeBinding.Jsii$Default {
protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
/**
* (experimental) Binds the requested volume to the docker-compose volume configuration and provide mounting instructions for synthesis.
*
* @return mounting instructions for the service.
* @param volumeConfig the volume configuration. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
public final @org.jetbrains.annotations.NotNull io.github.cdklabs.projen.DockerComposeVolumeMount bind(final @org.jetbrains.annotations.NotNull io.github.cdklabs.projen.IDockerComposeVolumeConfig volumeConfig) {
return software.amazon.jsii.Kernel.call(this, "bind", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.DockerComposeVolumeMount.class), new Object[] { java.util.Objects.requireNonNull(volumeConfig, "volumeConfig is required") });
}
}
/**
* Internal default implementation for {@link IDockerComposeVolumeBinding}.
*/
@software.amazon.jsii.Internal
interface Jsii$Default extends IDockerComposeVolumeBinding {
/**
* (experimental) Binds the requested volume to the docker-compose volume configuration and provide mounting instructions for synthesis.
*
* @return mounting instructions for the service.
* @param volumeConfig the volume configuration. This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
@Override
default @org.jetbrains.annotations.NotNull io.github.cdklabs.projen.DockerComposeVolumeMount bind(final @org.jetbrains.annotations.NotNull io.github.cdklabs.projen.IDockerComposeVolumeConfig volumeConfig) {
return software.amazon.jsii.Kernel.call(this, "bind", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.projen.DockerComposeVolumeMount.class), new Object[] { java.util.Objects.requireNonNull(volumeConfig, "volumeConfig is required") });
}
}
}