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

io.github.cdklabs.generative_ai_cdk_constructs.IJumpStartModelSpec Maven / Gradle / Ivy

Go to download

AWS Generative AI CDK Constructs is a library for well-architected generative AI patterns.

There is a newer version: 0.1.271
Show newest version
package io.github.cdklabs.generative_ai_cdk_constructs;

/**
 */
@javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-09-23T22:27:31.858Z")
@software.amazon.jsii.Jsii(module = io.github.cdklabs.generative_ai_cdk_constructs.$Module.class, fqn = "@cdklabs/generative-ai-cdk-constructs.IJumpStartModelSpec")
@software.amazon.jsii.Jsii.Proxy(IJumpStartModelSpec.Jsii$Proxy.class)
@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
public interface IJumpStartModelSpec extends software.amazon.jsii.JsiiSerializable {

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @org.jetbrains.annotations.NotNull java.lang.String getDefaultInstanceType();

    /**
     */
    void setDefaultInstanceType(final @org.jetbrains.annotations.NotNull java.lang.String value);

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @org.jetbrains.annotations.NotNull java.util.Map getEnvironment();

    /**
     */
    void setEnvironment(final @org.jetbrains.annotations.NotNull java.util.Map value);

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @org.jetbrains.annotations.NotNull java.lang.Boolean getGatedBucket();

    /**
     */
    void setGatedBucket(final @org.jetbrains.annotations.NotNull java.lang.Boolean value);

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @org.jetbrains.annotations.NotNull java.util.List getInstanceTypes();

    /**
     */
    void setInstanceTypes(final @org.jetbrains.annotations.NotNull java.util.List value);

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @org.jetbrains.annotations.NotNull java.lang.String getModelId();

    /**
     */
    void setModelId(final @org.jetbrains.annotations.NotNull java.lang.String value);

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @org.jetbrains.annotations.NotNull java.lang.Boolean getRequiresEula();

    /**
     */
    void setRequiresEula(final @org.jetbrains.annotations.NotNull java.lang.Boolean value);

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @org.jetbrains.annotations.NotNull java.lang.String getVersion();

    /**
     */
    void setVersion(final @org.jetbrains.annotations.NotNull java.lang.String value);

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    default @org.jetbrains.annotations.Nullable java.lang.String getArtifactKey() {
        return null;
    }

    /**
     */
    @software.amazon.jsii.Optional
    default void setArtifactKey(final @org.jetbrains.annotations.Nullable java.lang.String value) {
        throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setArtifactKey(@org.jetbrains.annotations.Nullable java.lang.String)' is not implemented!");
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    default @org.jetbrains.annotations.Nullable java.util.List getInstanceAliases() {
        return null;
    }

    /**
     */
    @software.amazon.jsii.Optional
    default void setInstanceAliases(final @org.jetbrains.annotations.Nullable java.util.List value) {
        throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setInstanceAliases(@org.jetbrains.annotations.Nullable java.util.List)' is not implemented!");
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    default @org.jetbrains.annotations.Nullable java.util.List getInstanceVariants() {
        return null;
    }

    /**
     */
    @software.amazon.jsii.Optional
    default void setInstanceVariants(final @org.jetbrains.annotations.Nullable java.util.List value) {
        throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setInstanceVariants(@org.jetbrains.annotations.Nullable java.util.List)' is not implemented!");
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    default @org.jetbrains.annotations.Nullable java.util.Map getModelPackageArns() {
        return null;
    }

    /**
     */
    @software.amazon.jsii.Optional
    default void setModelPackageArns(final @org.jetbrains.annotations.Nullable java.util.Map value) {
        throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setModelPackageArns(@org.jetbrains.annotations.Nullable java.util.Map)' is not implemented!");
    }

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    default @org.jetbrains.annotations.Nullable java.lang.String getPrepackedArtifactKey() {
        return null;
    }

    /**
     */
    @software.amazon.jsii.Optional
    default void setPrepackedArtifactKey(final @org.jetbrains.annotations.Nullable java.lang.String value) {
        throw new UnsupportedOperationException("'void " + getClass().getCanonicalName() + "#setPrepackedArtifactKey(@org.jetbrains.annotations.Nullable java.lang.String)' is not implemented!");
    }

    /**
     * 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.generative_ai_cdk_constructs.IJumpStartModelSpec.Jsii$Default {
        protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
            super(objRef);
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.NotNull java.lang.String getDefaultInstanceType() {
            return software.amazon.jsii.Kernel.get(this, "defaultInstanceType", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final void setDefaultInstanceType(final @org.jetbrains.annotations.NotNull java.lang.String value) {
            software.amazon.jsii.Kernel.set(this, "defaultInstanceType", java.util.Objects.requireNonNull(value, "defaultInstanceType is required"));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.NotNull java.util.Map getEnvironment() {
            return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.get(this, "environment", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class))));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final void setEnvironment(final @org.jetbrains.annotations.NotNull java.util.Map value) {
            if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) {
                if (!(value.keySet().toArray()[0] instanceof String)) {
                    throw new IllegalArgumentException(
                        new java.lang.StringBuilder("Expected ")
                            .append("value").append(".keySet()")
                            .append(" to contain class String; received ")
                            .append(value.keySet().toArray()[0].getClass()).toString());
                }
                for (final java.util.Map.Entry __item_ac66f0: value.entrySet()) {
                    final java.lang.Object __val_ac66f0 = __item_ac66f0.getValue();
                    if (
                         !(__val_ac66f0 instanceof java.lang.String)
                        && !(__val_ac66f0 instanceof java.lang.Number)
                        && !(__val_ac66f0 instanceof java.lang.Boolean)
                    ) {
                        throw new IllegalArgumentException(
                            new java.lang.StringBuilder("Expected ")
                                .append("value").append(".get(\"").append((__item_ac66f0.getKey())).append("\")")
                                .append(" to be one of: java.lang.String, java.lang.Number, java.lang.Boolean; received ")
                                .append(__val_ac66f0.getClass()).toString());
                    }
                }
            }
            software.amazon.jsii.Kernel.set(this, "environment", java.util.Objects.requireNonNull(value, "environment is required"));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.NotNull java.lang.Boolean getGatedBucket() {
            return software.amazon.jsii.Kernel.get(this, "gatedBucket", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final void setGatedBucket(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) {
            software.amazon.jsii.Kernel.set(this, "gatedBucket", java.util.Objects.requireNonNull(value, "gatedBucket is required"));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.NotNull java.util.List getInstanceTypes() {
            return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.get(this, "instanceTypes", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final void setInstanceTypes(final @org.jetbrains.annotations.NotNull java.util.List value) {
            software.amazon.jsii.Kernel.set(this, "instanceTypes", java.util.Objects.requireNonNull(value, "instanceTypes is required"));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.NotNull java.lang.String getModelId() {
            return software.amazon.jsii.Kernel.get(this, "modelId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final void setModelId(final @org.jetbrains.annotations.NotNull java.lang.String value) {
            software.amazon.jsii.Kernel.set(this, "modelId", java.util.Objects.requireNonNull(value, "modelId is required"));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.NotNull java.lang.Boolean getRequiresEula() {
            return software.amazon.jsii.Kernel.get(this, "requiresEula", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final void setRequiresEula(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) {
            software.amazon.jsii.Kernel.set(this, "requiresEula", java.util.Objects.requireNonNull(value, "requiresEula is required"));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.NotNull java.lang.String getVersion() {
            return software.amazon.jsii.Kernel.get(this, "version", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final void setVersion(final @org.jetbrains.annotations.NotNull java.lang.String value) {
            software.amazon.jsii.Kernel.set(this, "version", java.util.Objects.requireNonNull(value, "version is required"));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.Nullable java.lang.String getArtifactKey() {
            return software.amazon.jsii.Kernel.get(this, "artifactKey", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final void setArtifactKey(final @org.jetbrains.annotations.Nullable java.lang.String value) {
            software.amazon.jsii.Kernel.set(this, "artifactKey", value);
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.Nullable java.util.List getInstanceAliases() {
            return java.util.Optional.ofNullable((java.util.List)(software.amazon.jsii.Kernel.get(this, "instanceAliases", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(io.github.cdklabs.generative_ai_cdk_constructs.IInstanceAliase.class))))).map(java.util.Collections::unmodifiableList).orElse(null);
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final void setInstanceAliases(final @org.jetbrains.annotations.Nullable java.util.List value) {
            software.amazon.jsii.Kernel.set(this, "instanceAliases", value);
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.Nullable java.util.List getInstanceVariants() {
            return java.util.Optional.ofNullable((java.util.List)(software.amazon.jsii.Kernel.get(this, "instanceVariants", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(io.github.cdklabs.generative_ai_cdk_constructs.IInstanceValiant.class))))).map(java.util.Collections::unmodifiableList).orElse(null);
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final void setInstanceVariants(final @org.jetbrains.annotations.Nullable java.util.List value) {
            software.amazon.jsii.Kernel.set(this, "instanceVariants", value);
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.Nullable java.util.Map getModelPackageArns() {
            return java.util.Optional.ofNullable((java.util.Map)(software.amazon.jsii.Kernel.get(this, "modelPackageArns", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))))).map(java.util.Collections::unmodifiableMap).orElse(null);
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final void setModelPackageArns(final @org.jetbrains.annotations.Nullable java.util.Map value) {
            software.amazon.jsii.Kernel.set(this, "modelPackageArns", value);
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final @org.jetbrains.annotations.Nullable java.lang.String getPrepackedArtifactKey() {
            return software.amazon.jsii.Kernel.get(this, "prepackedArtifactKey", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public final void setPrepackedArtifactKey(final @org.jetbrains.annotations.Nullable java.lang.String value) {
            software.amazon.jsii.Kernel.set(this, "prepackedArtifactKey", value);
        }
    }

    /**
     * Internal default implementation for {@link IJumpStartModelSpec}.
     */
    @software.amazon.jsii.Internal
    interface Jsii$Default extends IJumpStartModelSpec {

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.NotNull java.lang.String getDefaultInstanceType() {
            return software.amazon.jsii.Kernel.get(this, "defaultInstanceType", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default void setDefaultInstanceType(final @org.jetbrains.annotations.NotNull java.lang.String value) {
            software.amazon.jsii.Kernel.set(this, "defaultInstanceType", java.util.Objects.requireNonNull(value, "defaultInstanceType is required"));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.NotNull java.util.Map getEnvironment() {
            return java.util.Collections.unmodifiableMap(software.amazon.jsii.Kernel.get(this, "environment", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.Object.class))));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default void setEnvironment(final @org.jetbrains.annotations.NotNull java.util.Map value) {
            if (software.amazon.jsii.Configuration.getRuntimeTypeChecking()) {
                if (!(value.keySet().toArray()[0] instanceof String)) {
                    throw new IllegalArgumentException(
                        new java.lang.StringBuilder("Expected ")
                            .append("value").append(".keySet()")
                            .append(" to contain class String; received ")
                            .append(value.keySet().toArray()[0].getClass()).toString());
                }
                for (final java.util.Map.Entry __item_ac66f0: value.entrySet()) {
                    final java.lang.Object __val_ac66f0 = __item_ac66f0.getValue();
                    if (
                         !(__val_ac66f0 instanceof java.lang.String)
                        && !(__val_ac66f0 instanceof java.lang.Number)
                        && !(__val_ac66f0 instanceof java.lang.Boolean)
                    ) {
                        throw new IllegalArgumentException(
                            new java.lang.StringBuilder("Expected ")
                                .append("value").append(".get(\"").append((__item_ac66f0.getKey())).append("\")")
                                .append(" to be one of: java.lang.String, java.lang.Number, java.lang.Boolean; received ")
                                .append(__val_ac66f0.getClass()).toString());
                    }
                }
            }
            software.amazon.jsii.Kernel.set(this, "environment", java.util.Objects.requireNonNull(value, "environment is required"));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.NotNull java.lang.Boolean getGatedBucket() {
            return software.amazon.jsii.Kernel.get(this, "gatedBucket", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default void setGatedBucket(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) {
            software.amazon.jsii.Kernel.set(this, "gatedBucket", java.util.Objects.requireNonNull(value, "gatedBucket is required"));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.NotNull java.util.List getInstanceTypes() {
            return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.get(this, "instanceTypes", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default void setInstanceTypes(final @org.jetbrains.annotations.NotNull java.util.List value) {
            software.amazon.jsii.Kernel.set(this, "instanceTypes", java.util.Objects.requireNonNull(value, "instanceTypes is required"));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.NotNull java.lang.String getModelId() {
            return software.amazon.jsii.Kernel.get(this, "modelId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default void setModelId(final @org.jetbrains.annotations.NotNull java.lang.String value) {
            software.amazon.jsii.Kernel.set(this, "modelId", java.util.Objects.requireNonNull(value, "modelId is required"));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.NotNull java.lang.Boolean getRequiresEula() {
            return software.amazon.jsii.Kernel.get(this, "requiresEula", software.amazon.jsii.NativeType.forClass(java.lang.Boolean.class));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default void setRequiresEula(final @org.jetbrains.annotations.NotNull java.lang.Boolean value) {
            software.amazon.jsii.Kernel.set(this, "requiresEula", java.util.Objects.requireNonNull(value, "requiresEula is required"));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.NotNull java.lang.String getVersion() {
            return software.amazon.jsii.Kernel.get(this, "version", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default void setVersion(final @org.jetbrains.annotations.NotNull java.lang.String value) {
            software.amazon.jsii.Kernel.set(this, "version", java.util.Objects.requireNonNull(value, "version is required"));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.Nullable java.lang.String getArtifactKey() {
            return software.amazon.jsii.Kernel.get(this, "artifactKey", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default void setArtifactKey(final @org.jetbrains.annotations.Nullable java.lang.String value) {
            software.amazon.jsii.Kernel.set(this, "artifactKey", value);
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.Nullable java.util.List getInstanceAliases() {
            return java.util.Optional.ofNullable((java.util.List)(software.amazon.jsii.Kernel.get(this, "instanceAliases", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(io.github.cdklabs.generative_ai_cdk_constructs.IInstanceAliase.class))))).map(java.util.Collections::unmodifiableList).orElse(null);
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default void setInstanceAliases(final @org.jetbrains.annotations.Nullable java.util.List value) {
            software.amazon.jsii.Kernel.set(this, "instanceAliases", value);
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.Nullable java.util.List getInstanceVariants() {
            return java.util.Optional.ofNullable((java.util.List)(software.amazon.jsii.Kernel.get(this, "instanceVariants", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(io.github.cdklabs.generative_ai_cdk_constructs.IInstanceValiant.class))))).map(java.util.Collections::unmodifiableList).orElse(null);
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default void setInstanceVariants(final @org.jetbrains.annotations.Nullable java.util.List value) {
            software.amazon.jsii.Kernel.set(this, "instanceVariants", value);
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.Nullable java.util.Map getModelPackageArns() {
            return java.util.Optional.ofNullable((java.util.Map)(software.amazon.jsii.Kernel.get(this, "modelPackageArns", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class))))).map(java.util.Collections::unmodifiableMap).orElse(null);
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default void setModelPackageArns(final @org.jetbrains.annotations.Nullable java.util.Map value) {
            software.amazon.jsii.Kernel.set(this, "modelPackageArns", value);
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default @org.jetbrains.annotations.Nullable java.lang.String getPrepackedArtifactKey() {
            return software.amazon.jsii.Kernel.get(this, "prepackedArtifactKey", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
        }

        /**
         */
        @Override
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        default void setPrepackedArtifactKey(final @org.jetbrains.annotations.Nullable java.lang.String value) {
            software.amazon.jsii.Kernel.set(this, "prepackedArtifactKey", value);
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy