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

com.pulumi.aws.sagemaker.inputs.EndpointConfigurationAsyncInferenceConfigOutputConfigArgs Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

There is a newer version: 6.60.0-alpha.1731982519
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.aws.sagemaker.inputs;

import com.pulumi.aws.sagemaker.inputs.EndpointConfigurationAsyncInferenceConfigOutputConfigNotificationConfigArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class EndpointConfigurationAsyncInferenceConfigOutputConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final EndpointConfigurationAsyncInferenceConfigOutputConfigArgs Empty = new EndpointConfigurationAsyncInferenceConfigOutputConfigArgs();

    /**
     * The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt the asynchronous inference output in Amazon S3.
     * 
     */
    @Import(name="kmsKeyId")
    private @Nullable Output kmsKeyId;

    /**
     * @return The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt the asynchronous inference output in Amazon S3.
     * 
     */
    public Optional> kmsKeyId() {
        return Optional.ofNullable(this.kmsKeyId);
    }

    /**
     * Specifies the configuration for notifications of inference results for asynchronous inference.
     * 
     */
    @Import(name="notificationConfig")
    private @Nullable Output notificationConfig;

    /**
     * @return Specifies the configuration for notifications of inference results for asynchronous inference.
     * 
     */
    public Optional> notificationConfig() {
        return Optional.ofNullable(this.notificationConfig);
    }

    /**
     * The Amazon S3 location to upload failure inference responses to.
     * 
     */
    @Import(name="s3FailurePath")
    private @Nullable Output s3FailurePath;

    /**
     * @return The Amazon S3 location to upload failure inference responses to.
     * 
     */
    public Optional> s3FailurePath() {
        return Optional.ofNullable(this.s3FailurePath);
    }

    /**
     * The Amazon S3 location to upload inference responses to.
     * 
     */
    @Import(name="s3OutputPath", required=true)
    private Output s3OutputPath;

    /**
     * @return The Amazon S3 location to upload inference responses to.
     * 
     */
    public Output s3OutputPath() {
        return this.s3OutputPath;
    }

    private EndpointConfigurationAsyncInferenceConfigOutputConfigArgs() {}

    private EndpointConfigurationAsyncInferenceConfigOutputConfigArgs(EndpointConfigurationAsyncInferenceConfigOutputConfigArgs $) {
        this.kmsKeyId = $.kmsKeyId;
        this.notificationConfig = $.notificationConfig;
        this.s3FailurePath = $.s3FailurePath;
        this.s3OutputPath = $.s3OutputPath;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(EndpointConfigurationAsyncInferenceConfigOutputConfigArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private EndpointConfigurationAsyncInferenceConfigOutputConfigArgs $;

        public Builder() {
            $ = new EndpointConfigurationAsyncInferenceConfigOutputConfigArgs();
        }

        public Builder(EndpointConfigurationAsyncInferenceConfigOutputConfigArgs defaults) {
            $ = new EndpointConfigurationAsyncInferenceConfigOutputConfigArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param kmsKeyId The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt the asynchronous inference output in Amazon S3.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyId(@Nullable Output kmsKeyId) {
            $.kmsKeyId = kmsKeyId;
            return this;
        }

        /**
         * @param kmsKeyId The Amazon Web Services Key Management Service (Amazon Web Services KMS) key that Amazon SageMaker uses to encrypt the asynchronous inference output in Amazon S3.
         * 
         * @return builder
         * 
         */
        public Builder kmsKeyId(String kmsKeyId) {
            return kmsKeyId(Output.of(kmsKeyId));
        }

        /**
         * @param notificationConfig Specifies the configuration for notifications of inference results for asynchronous inference.
         * 
         * @return builder
         * 
         */
        public Builder notificationConfig(@Nullable Output notificationConfig) {
            $.notificationConfig = notificationConfig;
            return this;
        }

        /**
         * @param notificationConfig Specifies the configuration for notifications of inference results for asynchronous inference.
         * 
         * @return builder
         * 
         */
        public Builder notificationConfig(EndpointConfigurationAsyncInferenceConfigOutputConfigNotificationConfigArgs notificationConfig) {
            return notificationConfig(Output.of(notificationConfig));
        }

        /**
         * @param s3FailurePath The Amazon S3 location to upload failure inference responses to.
         * 
         * @return builder
         * 
         */
        public Builder s3FailurePath(@Nullable Output s3FailurePath) {
            $.s3FailurePath = s3FailurePath;
            return this;
        }

        /**
         * @param s3FailurePath The Amazon S3 location to upload failure inference responses to.
         * 
         * @return builder
         * 
         */
        public Builder s3FailurePath(String s3FailurePath) {
            return s3FailurePath(Output.of(s3FailurePath));
        }

        /**
         * @param s3OutputPath The Amazon S3 location to upload inference responses to.
         * 
         * @return builder
         * 
         */
        public Builder s3OutputPath(Output s3OutputPath) {
            $.s3OutputPath = s3OutputPath;
            return this;
        }

        /**
         * @param s3OutputPath The Amazon S3 location to upload inference responses to.
         * 
         * @return builder
         * 
         */
        public Builder s3OutputPath(String s3OutputPath) {
            return s3OutputPath(Output.of(s3OutputPath));
        }

        public EndpointConfigurationAsyncInferenceConfigOutputConfigArgs build() {
            if ($.s3OutputPath == null) {
                throw new MissingRequiredPropertyException("EndpointConfigurationAsyncInferenceConfigOutputConfigArgs", "s3OutputPath");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy