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

com.pulumi.googlenative.datalabeling.v1beta1.inputs.GoogleCloudDatalabelingV1beta1PdfInstructionArgs 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.googlenative.datalabeling.v1beta1.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Instruction from a PDF file.
 * 
 */
public final class GoogleCloudDatalabelingV1beta1PdfInstructionArgs extends com.pulumi.resources.ResourceArgs {

    public static final GoogleCloudDatalabelingV1beta1PdfInstructionArgs Empty = new GoogleCloudDatalabelingV1beta1PdfInstructionArgs();

    /**
     * PDF file for the instruction. Only gcs path is allowed.
     * 
     */
    @Import(name="gcsFileUri")
    private @Nullable Output gcsFileUri;

    /**
     * @return PDF file for the instruction. Only gcs path is allowed.
     * 
     */
    public Optional> gcsFileUri() {
        return Optional.ofNullable(this.gcsFileUri);
    }

    private GoogleCloudDatalabelingV1beta1PdfInstructionArgs() {}

    private GoogleCloudDatalabelingV1beta1PdfInstructionArgs(GoogleCloudDatalabelingV1beta1PdfInstructionArgs $) {
        this.gcsFileUri = $.gcsFileUri;
    }

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

    public static final class Builder {
        private GoogleCloudDatalabelingV1beta1PdfInstructionArgs $;

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

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

        /**
         * @param gcsFileUri PDF file for the instruction. Only gcs path is allowed.
         * 
         * @return builder
         * 
         */
        public Builder gcsFileUri(@Nullable Output gcsFileUri) {
            $.gcsFileUri = gcsFileUri;
            return this;
        }

        /**
         * @param gcsFileUri PDF file for the instruction. Only gcs path is allowed.
         * 
         * @return builder
         * 
         */
        public Builder gcsFileUri(String gcsFileUri) {
            return gcsFileUri(Output.of(gcsFileUri));
        }

        public GoogleCloudDatalabelingV1beta1PdfInstructionArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy