io.github.cdklabs.cdk.ecr.deployment.S3ArchiveName Maven / Gradle / Ivy
Show all versions of cdk-ecr-deployment Show documentation
package io.github.cdklabs.cdk.ecr.deployment;
/**
*/
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-06T18:17:25.181Z")
@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.S3ArchiveName")
public class S3ArchiveName extends software.amazon.jsii.JsiiObject implements io.github.cdklabs.cdk.ecr.deployment.IImageName {
protected S3ArchiveName(final software.amazon.jsii.JsiiObjectRef objRef) {
super(objRef);
}
protected S3ArchiveName(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) {
super(initializationMode);
}
/**
* @param p This parameter is required.
* @param ref
* @param creds The credentials of the docker image.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public S3ArchiveName(final @org.jetbrains.annotations.NotNull java.lang.String p, final @org.jetbrains.annotations.Nullable java.lang.String ref, 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(p, "p is required"), ref, creds });
}
/**
* @param p This parameter is required.
* @param ref
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public S3ArchiveName(final @org.jetbrains.annotations.NotNull java.lang.String p, final @org.jetbrains.annotations.Nullable java.lang.String ref) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(p, "p is required"), ref });
}
/**
* @param p This parameter is required.
*/
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable)
public S3ArchiveName(final @org.jetbrains.annotations.NotNull java.lang.String p) {
super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this, new Object[] { java.util.Objects.requireNonNull(p, "p 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);
}
}