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

com.pulumi.aws.transcribe.inputs.LanguageModelInputDataConfigArgs Maven / Gradle / Ivy

Go to download

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

The 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.transcribe.inputs;

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 LanguageModelInputDataConfigArgs extends com.pulumi.resources.ResourceArgs {

    public static final LanguageModelInputDataConfigArgs Empty = new LanguageModelInputDataConfigArgs();

    /**
     * IAM role with access to S3 bucket.
     * 
     */
    @Import(name="dataAccessRoleArn", required=true)
    private Output dataAccessRoleArn;

    /**
     * @return IAM role with access to S3 bucket.
     * 
     */
    public Output dataAccessRoleArn() {
        return this.dataAccessRoleArn;
    }

    /**
     * S3 URI where training data is located.
     * 
     */
    @Import(name="s3Uri", required=true)
    private Output s3Uri;

    /**
     * @return S3 URI where training data is located.
     * 
     */
    public Output s3Uri() {
        return this.s3Uri;
    }

    /**
     * S3 URI where tuning data is located.
     * 
     * The following arguments are optional:
     * 
     */
    @Import(name="tuningDataS3Uri")
    private @Nullable Output tuningDataS3Uri;

    /**
     * @return S3 URI where tuning data is located.
     * 
     * The following arguments are optional:
     * 
     */
    public Optional> tuningDataS3Uri() {
        return Optional.ofNullable(this.tuningDataS3Uri);
    }

    private LanguageModelInputDataConfigArgs() {}

    private LanguageModelInputDataConfigArgs(LanguageModelInputDataConfigArgs $) {
        this.dataAccessRoleArn = $.dataAccessRoleArn;
        this.s3Uri = $.s3Uri;
        this.tuningDataS3Uri = $.tuningDataS3Uri;
    }

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

    public static final class Builder {
        private LanguageModelInputDataConfigArgs $;

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

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

        /**
         * @param dataAccessRoleArn IAM role with access to S3 bucket.
         * 
         * @return builder
         * 
         */
        public Builder dataAccessRoleArn(Output dataAccessRoleArn) {
            $.dataAccessRoleArn = dataAccessRoleArn;
            return this;
        }

        /**
         * @param dataAccessRoleArn IAM role with access to S3 bucket.
         * 
         * @return builder
         * 
         */
        public Builder dataAccessRoleArn(String dataAccessRoleArn) {
            return dataAccessRoleArn(Output.of(dataAccessRoleArn));
        }

        /**
         * @param s3Uri S3 URI where training data is located.
         * 
         * @return builder
         * 
         */
        public Builder s3Uri(Output s3Uri) {
            $.s3Uri = s3Uri;
            return this;
        }

        /**
         * @param s3Uri S3 URI where training data is located.
         * 
         * @return builder
         * 
         */
        public Builder s3Uri(String s3Uri) {
            return s3Uri(Output.of(s3Uri));
        }

        /**
         * @param tuningDataS3Uri S3 URI where tuning data is located.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder tuningDataS3Uri(@Nullable Output tuningDataS3Uri) {
            $.tuningDataS3Uri = tuningDataS3Uri;
            return this;
        }

        /**
         * @param tuningDataS3Uri S3 URI where tuning data is located.
         * 
         * The following arguments are optional:
         * 
         * @return builder
         * 
         */
        public Builder tuningDataS3Uri(String tuningDataS3Uri) {
            return tuningDataS3Uri(Output.of(tuningDataS3Uri));
        }

        public LanguageModelInputDataConfigArgs build() {
            if ($.dataAccessRoleArn == null) {
                throw new MissingRequiredPropertyException("LanguageModelInputDataConfigArgs", "dataAccessRoleArn");
            }
            if ($.s3Uri == null) {
                throw new MissingRequiredPropertyException("LanguageModelInputDataConfigArgs", "s3Uri");
            }
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy