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

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

Go to download

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

The newest version!
package io.github.cdklabs.generative_ai_cdk_constructs;

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

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @org.jetbrains.annotations.NotNull io.github.cdklabs.generative_ai_cdk_constructs.ContainerImage getContainer();

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

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @org.jetbrains.annotations.NotNull io.github.cdklabs.generative_ai_cdk_constructs.SageMakerInstanceType getInstanceType();

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

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

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    default @org.jetbrains.annotations.Nullable io.github.cdklabs.generative_ai_cdk_constructs.AsyncInferenceConfig getAsyncInference() {
        return null;
    }

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

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

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

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

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

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.iam.Role getRole() {
        return null;
    }

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

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

    /**
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    default @org.jetbrains.annotations.Nullable software.amazon.awscdk.services.sagemaker.CfnModel.VpcConfigProperty getVpcConfig() {
        return null;
    }

    /**
     * @return a {@link Builder} of {@link CustomSageMakerEndpointProps}
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    static Builder builder() {
        return new Builder();
    }
    /**
     * A builder for {@link CustomSageMakerEndpointProps}
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    public static final class Builder implements software.amazon.jsii.Builder {
        io.github.cdklabs.generative_ai_cdk_constructs.ContainerImage container;
        java.lang.String endpointName;
        io.github.cdklabs.generative_ai_cdk_constructs.SageMakerInstanceType instanceType;
        java.lang.String modelDataUrl;
        java.lang.String modelId;
        io.github.cdklabs.generative_ai_cdk_constructs.AsyncInferenceConfig asyncInference;
        java.util.Map environment;
        java.lang.Number instanceCount;
        java.lang.Number maxCapacity;
        java.lang.Number minCapacity;
        java.lang.Number modelDataDownloadTimeoutInSeconds;
        software.amazon.awscdk.services.iam.Role role;
        java.lang.Number startupHealthCheckTimeoutInSeconds;
        java.lang.Number volumeSizeInGb;
        software.amazon.awscdk.services.sagemaker.CfnModel.VpcConfigProperty vpcConfig;

        /**
         * Sets the value of {@link CustomSageMakerEndpointProps#getContainer}
         * @param container the value to be set. This parameter is required.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder container(io.github.cdklabs.generative_ai_cdk_constructs.ContainerImage container) {
            this.container = container;
            return this;
        }

        /**
         * Sets the value of {@link CustomSageMakerEndpointProps#getEndpointName}
         * @param endpointName the value to be set. This parameter is required.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder endpointName(java.lang.String endpointName) {
            this.endpointName = endpointName;
            return this;
        }

        /**
         * Sets the value of {@link CustomSageMakerEndpointProps#getInstanceType}
         * @param instanceType the value to be set. This parameter is required.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder instanceType(io.github.cdklabs.generative_ai_cdk_constructs.SageMakerInstanceType instanceType) {
            this.instanceType = instanceType;
            return this;
        }

        /**
         * Sets the value of {@link CustomSageMakerEndpointProps#getModelDataUrl}
         * @param modelDataUrl the value to be set. This parameter is required.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder modelDataUrl(java.lang.String modelDataUrl) {
            this.modelDataUrl = modelDataUrl;
            return this;
        }

        /**
         * Sets the value of {@link CustomSageMakerEndpointProps#getModelId}
         * @param modelId the value to be set. This parameter is required.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder modelId(java.lang.String modelId) {
            this.modelId = modelId;
            return this;
        }

        /**
         * Sets the value of {@link CustomSageMakerEndpointProps#getAsyncInference}
         * @param asyncInference the value to be set.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder asyncInference(io.github.cdklabs.generative_ai_cdk_constructs.AsyncInferenceConfig asyncInference) {
            this.asyncInference = asyncInference;
            return this;
        }

        /**
         * Sets the value of {@link CustomSageMakerEndpointProps#getEnvironment}
         * @param environment the value to be set.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder environment(java.util.Map environment) {
            this.environment = environment;
            return this;
        }

        /**
         * Sets the value of {@link CustomSageMakerEndpointProps#getInstanceCount}
         * @param instanceCount the value to be set.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder instanceCount(java.lang.Number instanceCount) {
            this.instanceCount = instanceCount;
            return this;
        }

        /**
         * Sets the value of {@link CustomSageMakerEndpointProps#getMaxCapacity}
         * @param maxCapacity the value to be set.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder maxCapacity(java.lang.Number maxCapacity) {
            this.maxCapacity = maxCapacity;
            return this;
        }

        /**
         * Sets the value of {@link CustomSageMakerEndpointProps#getMinCapacity}
         * @param minCapacity the value to be set.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder minCapacity(java.lang.Number minCapacity) {
            this.minCapacity = minCapacity;
            return this;
        }

        /**
         * Sets the value of {@link CustomSageMakerEndpointProps#getModelDataDownloadTimeoutInSeconds}
         * @param modelDataDownloadTimeoutInSeconds the value to be set.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder modelDataDownloadTimeoutInSeconds(java.lang.Number modelDataDownloadTimeoutInSeconds) {
            this.modelDataDownloadTimeoutInSeconds = modelDataDownloadTimeoutInSeconds;
            return this;
        }

        /**
         * Sets the value of {@link CustomSageMakerEndpointProps#getRole}
         * @param role the value to be set.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder role(software.amazon.awscdk.services.iam.Role role) {
            this.role = role;
            return this;
        }

        /**
         * Sets the value of {@link CustomSageMakerEndpointProps#getStartupHealthCheckTimeoutInSeconds}
         * @param startupHealthCheckTimeoutInSeconds the value to be set.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder startupHealthCheckTimeoutInSeconds(java.lang.Number startupHealthCheckTimeoutInSeconds) {
            this.startupHealthCheckTimeoutInSeconds = startupHealthCheckTimeoutInSeconds;
            return this;
        }

        /**
         * Sets the value of {@link CustomSageMakerEndpointProps#getVolumeSizeInGb}
         * @param volumeSizeInGb the value to be set.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder volumeSizeInGb(java.lang.Number volumeSizeInGb) {
            this.volumeSizeInGb = volumeSizeInGb;
            return this;
        }

        /**
         * Sets the value of {@link CustomSageMakerEndpointProps#getVpcConfig}
         * @param vpcConfig the value to be set.
         * @return {@code this}
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        public Builder vpcConfig(software.amazon.awscdk.services.sagemaker.CfnModel.VpcConfigProperty vpcConfig) {
            this.vpcConfig = vpcConfig;
            return this;
        }

        /**
         * Builds the configured instance.
         * @return a new instance of {@link CustomSageMakerEndpointProps}
         * @throws NullPointerException if any required attribute was not provided
         */
        @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
        @Override
        public CustomSageMakerEndpointProps build() {
            return new Jsii$Proxy(this);
        }
    }

    /**
     * An implementation for {@link CustomSageMakerEndpointProps}
     */
    @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental)
    @software.amazon.jsii.Internal
    final class Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CustomSageMakerEndpointProps {
        private final io.github.cdklabs.generative_ai_cdk_constructs.ContainerImage container;
        private final java.lang.String endpointName;
        private final io.github.cdklabs.generative_ai_cdk_constructs.SageMakerInstanceType instanceType;
        private final java.lang.String modelDataUrl;
        private final java.lang.String modelId;
        private final io.github.cdklabs.generative_ai_cdk_constructs.AsyncInferenceConfig asyncInference;
        private final java.util.Map environment;
        private final java.lang.Number instanceCount;
        private final java.lang.Number maxCapacity;
        private final java.lang.Number minCapacity;
        private final java.lang.Number modelDataDownloadTimeoutInSeconds;
        private final software.amazon.awscdk.services.iam.Role role;
        private final java.lang.Number startupHealthCheckTimeoutInSeconds;
        private final java.lang.Number volumeSizeInGb;
        private final software.amazon.awscdk.services.sagemaker.CfnModel.VpcConfigProperty vpcConfig;

        /**
         * Constructor that initializes the object based on values retrieved from the JsiiObject.
         * @param objRef Reference to the JSII managed object.
         */
        protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) {
            super(objRef);
            this.container = software.amazon.jsii.Kernel.get(this, "container", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.generative_ai_cdk_constructs.ContainerImage.class));
            this.endpointName = software.amazon.jsii.Kernel.get(this, "endpointName", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
            this.instanceType = software.amazon.jsii.Kernel.get(this, "instanceType", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.generative_ai_cdk_constructs.SageMakerInstanceType.class));
            this.modelDataUrl = software.amazon.jsii.Kernel.get(this, "modelDataUrl", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
            this.modelId = software.amazon.jsii.Kernel.get(this, "modelId", software.amazon.jsii.NativeType.forClass(java.lang.String.class));
            this.asyncInference = software.amazon.jsii.Kernel.get(this, "asyncInference", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.generative_ai_cdk_constructs.AsyncInferenceConfig.class));
            this.environment = software.amazon.jsii.Kernel.get(this, "environment", software.amazon.jsii.NativeType.mapOf(software.amazon.jsii.NativeType.forClass(java.lang.String.class)));
            this.instanceCount = software.amazon.jsii.Kernel.get(this, "instanceCount", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
            this.maxCapacity = software.amazon.jsii.Kernel.get(this, "maxCapacity", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
            this.minCapacity = software.amazon.jsii.Kernel.get(this, "minCapacity", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
            this.modelDataDownloadTimeoutInSeconds = software.amazon.jsii.Kernel.get(this, "modelDataDownloadTimeoutInSeconds", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
            this.role = software.amazon.jsii.Kernel.get(this, "role", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.iam.Role.class));
            this.startupHealthCheckTimeoutInSeconds = software.amazon.jsii.Kernel.get(this, "startupHealthCheckTimeoutInSeconds", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
            this.volumeSizeInGb = software.amazon.jsii.Kernel.get(this, "volumeSizeInGb", software.amazon.jsii.NativeType.forClass(java.lang.Number.class));
            this.vpcConfig = software.amazon.jsii.Kernel.get(this, "vpcConfig", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.sagemaker.CfnModel.VpcConfigProperty.class));
        }

        /**
         * Constructor that initializes the object based on literal property values passed by the {@link Builder}.
         */
        protected Jsii$Proxy(final Builder builder) {
            super(software.amazon.jsii.JsiiObject.InitializationMode.JSII);
            this.container = java.util.Objects.requireNonNull(builder.container, "container is required");
            this.endpointName = java.util.Objects.requireNonNull(builder.endpointName, "endpointName is required");
            this.instanceType = java.util.Objects.requireNonNull(builder.instanceType, "instanceType is required");
            this.modelDataUrl = java.util.Objects.requireNonNull(builder.modelDataUrl, "modelDataUrl is required");
            this.modelId = java.util.Objects.requireNonNull(builder.modelId, "modelId is required");
            this.asyncInference = builder.asyncInference;
            this.environment = builder.environment;
            this.instanceCount = builder.instanceCount;
            this.maxCapacity = builder.maxCapacity;
            this.minCapacity = builder.minCapacity;
            this.modelDataDownloadTimeoutInSeconds = builder.modelDataDownloadTimeoutInSeconds;
            this.role = builder.role;
            this.startupHealthCheckTimeoutInSeconds = builder.startupHealthCheckTimeoutInSeconds;
            this.volumeSizeInGb = builder.volumeSizeInGb;
            this.vpcConfig = builder.vpcConfig;
        }

        @Override
        public final io.github.cdklabs.generative_ai_cdk_constructs.ContainerImage getContainer() {
            return this.container;
        }

        @Override
        public final java.lang.String getEndpointName() {
            return this.endpointName;
        }

        @Override
        public final io.github.cdklabs.generative_ai_cdk_constructs.SageMakerInstanceType getInstanceType() {
            return this.instanceType;
        }

        @Override
        public final java.lang.String getModelDataUrl() {
            return this.modelDataUrl;
        }

        @Override
        public final java.lang.String getModelId() {
            return this.modelId;
        }

        @Override
        public final io.github.cdklabs.generative_ai_cdk_constructs.AsyncInferenceConfig getAsyncInference() {
            return this.asyncInference;
        }

        @Override
        public final java.util.Map getEnvironment() {
            return this.environment;
        }

        @Override
        public final java.lang.Number getInstanceCount() {
            return this.instanceCount;
        }

        @Override
        public final java.lang.Number getMaxCapacity() {
            return this.maxCapacity;
        }

        @Override
        public final java.lang.Number getMinCapacity() {
            return this.minCapacity;
        }

        @Override
        public final java.lang.Number getModelDataDownloadTimeoutInSeconds() {
            return this.modelDataDownloadTimeoutInSeconds;
        }

        @Override
        public final software.amazon.awscdk.services.iam.Role getRole() {
            return this.role;
        }

        @Override
        public final java.lang.Number getStartupHealthCheckTimeoutInSeconds() {
            return this.startupHealthCheckTimeoutInSeconds;
        }

        @Override
        public final java.lang.Number getVolumeSizeInGb() {
            return this.volumeSizeInGb;
        }

        @Override
        public final software.amazon.awscdk.services.sagemaker.CfnModel.VpcConfigProperty getVpcConfig() {
            return this.vpcConfig;
        }

        @Override
        @software.amazon.jsii.Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson() {
            final com.fasterxml.jackson.databind.ObjectMapper om = software.amazon.jsii.JsiiObjectMapper.INSTANCE;
            final com.fasterxml.jackson.databind.node.ObjectNode data = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();

            data.set("container", om.valueToTree(this.getContainer()));
            data.set("endpointName", om.valueToTree(this.getEndpointName()));
            data.set("instanceType", om.valueToTree(this.getInstanceType()));
            data.set("modelDataUrl", om.valueToTree(this.getModelDataUrl()));
            data.set("modelId", om.valueToTree(this.getModelId()));
            if (this.getAsyncInference() != null) {
                data.set("asyncInference", om.valueToTree(this.getAsyncInference()));
            }
            if (this.getEnvironment() != null) {
                data.set("environment", om.valueToTree(this.getEnvironment()));
            }
            if (this.getInstanceCount() != null) {
                data.set("instanceCount", om.valueToTree(this.getInstanceCount()));
            }
            if (this.getMaxCapacity() != null) {
                data.set("maxCapacity", om.valueToTree(this.getMaxCapacity()));
            }
            if (this.getMinCapacity() != null) {
                data.set("minCapacity", om.valueToTree(this.getMinCapacity()));
            }
            if (this.getModelDataDownloadTimeoutInSeconds() != null) {
                data.set("modelDataDownloadTimeoutInSeconds", om.valueToTree(this.getModelDataDownloadTimeoutInSeconds()));
            }
            if (this.getRole() != null) {
                data.set("role", om.valueToTree(this.getRole()));
            }
            if (this.getStartupHealthCheckTimeoutInSeconds() != null) {
                data.set("startupHealthCheckTimeoutInSeconds", om.valueToTree(this.getStartupHealthCheckTimeoutInSeconds()));
            }
            if (this.getVolumeSizeInGb() != null) {
                data.set("volumeSizeInGb", om.valueToTree(this.getVolumeSizeInGb()));
            }
            if (this.getVpcConfig() != null) {
                data.set("vpcConfig", om.valueToTree(this.getVpcConfig()));
            }

            final com.fasterxml.jackson.databind.node.ObjectNode struct = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
            struct.set("fqn", om.valueToTree("@cdklabs/generative-ai-cdk-constructs.CustomSageMakerEndpointProps"));
            struct.set("data", data);

            final com.fasterxml.jackson.databind.node.ObjectNode obj = com.fasterxml.jackson.databind.node.JsonNodeFactory.instance.objectNode();
            obj.set("$jsii.struct", struct);

            return obj;
        }

        @Override
        public final boolean equals(final Object o) {
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;

            CustomSageMakerEndpointProps.Jsii$Proxy that = (CustomSageMakerEndpointProps.Jsii$Proxy) o;

            if (!container.equals(that.container)) return false;
            if (!endpointName.equals(that.endpointName)) return false;
            if (!instanceType.equals(that.instanceType)) return false;
            if (!modelDataUrl.equals(that.modelDataUrl)) return false;
            if (!modelId.equals(that.modelId)) return false;
            if (this.asyncInference != null ? !this.asyncInference.equals(that.asyncInference) : that.asyncInference != null) return false;
            if (this.environment != null ? !this.environment.equals(that.environment) : that.environment != null) return false;
            if (this.instanceCount != null ? !this.instanceCount.equals(that.instanceCount) : that.instanceCount != null) return false;
            if (this.maxCapacity != null ? !this.maxCapacity.equals(that.maxCapacity) : that.maxCapacity != null) return false;
            if (this.minCapacity != null ? !this.minCapacity.equals(that.minCapacity) : that.minCapacity != null) return false;
            if (this.modelDataDownloadTimeoutInSeconds != null ? !this.modelDataDownloadTimeoutInSeconds.equals(that.modelDataDownloadTimeoutInSeconds) : that.modelDataDownloadTimeoutInSeconds != null) return false;
            if (this.role != null ? !this.role.equals(that.role) : that.role != null) return false;
            if (this.startupHealthCheckTimeoutInSeconds != null ? !this.startupHealthCheckTimeoutInSeconds.equals(that.startupHealthCheckTimeoutInSeconds) : that.startupHealthCheckTimeoutInSeconds != null) return false;
            if (this.volumeSizeInGb != null ? !this.volumeSizeInGb.equals(that.volumeSizeInGb) : that.volumeSizeInGb != null) return false;
            return this.vpcConfig != null ? this.vpcConfig.equals(that.vpcConfig) : that.vpcConfig == null;
        }

        @Override
        public final int hashCode() {
            int result = this.container.hashCode();
            result = 31 * result + (this.endpointName.hashCode());
            result = 31 * result + (this.instanceType.hashCode());
            result = 31 * result + (this.modelDataUrl.hashCode());
            result = 31 * result + (this.modelId.hashCode());
            result = 31 * result + (this.asyncInference != null ? this.asyncInference.hashCode() : 0);
            result = 31 * result + (this.environment != null ? this.environment.hashCode() : 0);
            result = 31 * result + (this.instanceCount != null ? this.instanceCount.hashCode() : 0);
            result = 31 * result + (this.maxCapacity != null ? this.maxCapacity.hashCode() : 0);
            result = 31 * result + (this.minCapacity != null ? this.minCapacity.hashCode() : 0);
            result = 31 * result + (this.modelDataDownloadTimeoutInSeconds != null ? this.modelDataDownloadTimeoutInSeconds.hashCode() : 0);
            result = 31 * result + (this.role != null ? this.role.hashCode() : 0);
            result = 31 * result + (this.startupHealthCheckTimeoutInSeconds != null ? this.startupHealthCheckTimeoutInSeconds.hashCode() : 0);
            result = 31 * result + (this.volumeSizeInGb != null ? this.volumeSizeInGb.hashCode() : 0);
            result = 31 * result + (this.vpcConfig != null ? this.vpcConfig.hashCode() : 0);
            return result;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy