All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.cdklabs.cdk.ecr.deployment.DockerImageName Maven / Gradle / Ivy

package io.github.cdklabs.cdk.ecr.deployment;

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-10T18:16:11.043Z")
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
@software.amazon.jsii.Jsii(module = io.github.cdklabs.cdk.ecr.deployment.$Module.class, fqn = "cdk-ecr-deployment.DockerImageName")
public class DockerImageName extends software.amazon.jsii.JsiiObject implements io.github.cdklabs.cdk.ecr.deployment.IImageName {

    protected DockerImageName(final software.amazon.jsii.JsiiObjectRef objRef) {
        super(objRef);
    }

    protected DockerImageName(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
        super(initializationMode);
    }

    /**
     * @param name This parameter is required.
     * @param creds The credentials of the docker image.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public DockerImageName(final @org.jetbrains.annotations.NotNull java.lang.String name, final @org.jetbrains.annotations.Nullable java.lang.String creds) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(name, "name is required"), creds });
    }

    /**
     * @param name This parameter is required.
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
    public DockerImageName(final @org.jetbrains.annotations.NotNull java.lang.String name) {
        super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
        software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(name, "name is required") });
    }

    /**
     * The uri of the docker image.
     * 

* The uri spec follows https://github.com/containers/skopeo */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.NotNull java.lang.String getUri() { return software.amazon.jsii.Kernel.get(this, "uri", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * The credentials of the docker image. *

* Format user:password or AWS Secrets Manager secret arn or AWS Secrets Manager secret name */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public @org.jetbrains.annotations.Nullable java.lang.String getCreds() { return software.amazon.jsii.Kernel.get(this, "creds", software.amazon.jsii.NativeType.forClass(java.lang.String.class)); } /** * The credentials of the docker image. *

* Format user:password or AWS Secrets Manager secret arn or AWS Secrets Manager secret name */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) public void setCreds(final @org.jetbrains.annotations.Nullable java.lang.String value) { software.amazon.jsii.Kernel.set(this, "creds", value); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy