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

com.pulumi.aws.sagemaker.outputs.FlowDefinitionOutputConfig 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.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class FlowDefinitionOutputConfig {
    /**
     * @return The Amazon Key Management Service (KMS) key ARN for server-side encryption.
     * 
     */
    private @Nullable String kmsKeyId;
    /**
     * @return The Amazon S3 path where the object containing human output will be made available.
     * 
     */
    private String s3OutputPath;

    private FlowDefinitionOutputConfig() {}
    /**
     * @return The Amazon Key Management Service (KMS) key ARN for server-side encryption.
     * 
     */
    public Optional kmsKeyId() {
        return Optional.ofNullable(this.kmsKeyId);
    }
    /**
     * @return The Amazon S3 path where the object containing human output will be made available.
     * 
     */
    public String s3OutputPath() {
        return this.s3OutputPath;
    }

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

    public static Builder builder(FlowDefinitionOutputConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String kmsKeyId;
        private String s3OutputPath;
        public Builder() {}
        public Builder(FlowDefinitionOutputConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.kmsKeyId = defaults.kmsKeyId;
    	      this.s3OutputPath = defaults.s3OutputPath;
        }

        @CustomType.Setter
        public Builder kmsKeyId(@Nullable String kmsKeyId) {

            this.kmsKeyId = kmsKeyId;
            return this;
        }
        @CustomType.Setter
        public Builder s3OutputPath(String s3OutputPath) {
            if (s3OutputPath == null) {
              throw new MissingRequiredPropertyException("FlowDefinitionOutputConfig", "s3OutputPath");
            }
            this.s3OutputPath = s3OutputPath;
            return this;
        }
        public FlowDefinitionOutputConfig build() {
            final var _resultValue = new FlowDefinitionOutputConfig();
            _resultValue.kmsKeyId = kmsKeyId;
            _resultValue.s3OutputPath = s3OutputPath;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy