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

com.pulumi.aws.sagemaker.outputs.EndpointConfigurationAsyncInferenceConfig Maven / Gradle / Ivy

// *** 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.outputs;

import com.pulumi.aws.sagemaker.outputs.EndpointConfigurationAsyncInferenceConfigClientConfig;
import com.pulumi.aws.sagemaker.outputs.EndpointConfigurationAsyncInferenceConfigOutputConfig;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class EndpointConfigurationAsyncInferenceConfig {
    /**
     * @return Configures the behavior of the client used by Amazon SageMaker to interact with the model container during asynchronous inference.
     * 
     */
    private @Nullable EndpointConfigurationAsyncInferenceConfigClientConfig clientConfig;
    /**
     * @return Specifies the configuration for asynchronous inference invocation outputs.
     * 
     */
    private EndpointConfigurationAsyncInferenceConfigOutputConfig outputConfig;

    private EndpointConfigurationAsyncInferenceConfig() {}
    /**
     * @return Configures the behavior of the client used by Amazon SageMaker to interact with the model container during asynchronous inference.
     * 
     */
    public Optional clientConfig() {
        return Optional.ofNullable(this.clientConfig);
    }
    /**
     * @return Specifies the configuration for asynchronous inference invocation outputs.
     * 
     */
    public EndpointConfigurationAsyncInferenceConfigOutputConfig outputConfig() {
        return this.outputConfig;
    }

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

    public static Builder builder(EndpointConfigurationAsyncInferenceConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable EndpointConfigurationAsyncInferenceConfigClientConfig clientConfig;
        private EndpointConfigurationAsyncInferenceConfigOutputConfig outputConfig;
        public Builder() {}
        public Builder(EndpointConfigurationAsyncInferenceConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.clientConfig = defaults.clientConfig;
    	      this.outputConfig = defaults.outputConfig;
        }

        @CustomType.Setter
        public Builder clientConfig(@Nullable EndpointConfigurationAsyncInferenceConfigClientConfig clientConfig) {

            this.clientConfig = clientConfig;
            return this;
        }
        @CustomType.Setter
        public Builder outputConfig(EndpointConfigurationAsyncInferenceConfigOutputConfig outputConfig) {
            if (outputConfig == null) {
              throw new MissingRequiredPropertyException("EndpointConfigurationAsyncInferenceConfig", "outputConfig");
            }
            this.outputConfig = outputConfig;
            return this;
        }
        public EndpointConfigurationAsyncInferenceConfig build() {
            final var _resultValue = new EndpointConfigurationAsyncInferenceConfig();
            _resultValue.clientConfig = clientConfig;
            _resultValue.outputConfig = outputConfig;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy