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

com.pulumi.googlenative.dataplex.v1.inputs.GetContentArgs 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.dataplex.v1.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;


public final class GetContentArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetContentArgs Empty = new GetContentArgs();

    @Import(name="contentId", required=true)
    private Output contentId;

    public Output contentId() {
        return this.contentId;
    }

    @Import(name="lakeId", required=true)
    private Output lakeId;

    public Output lakeId() {
        return this.lakeId;
    }

    @Import(name="location", required=true)
    private Output location;

    public Output location() {
        return this.location;
    }

    @Import(name="project")
    private @Nullable Output project;

    public Optional> project() {
        return Optional.ofNullable(this.project);
    }

    @Import(name="view")
    private @Nullable Output view;

    public Optional> view() {
        return Optional.ofNullable(this.view);
    }

    private GetContentArgs() {}

    private GetContentArgs(GetContentArgs $) {
        this.contentId = $.contentId;
        this.lakeId = $.lakeId;
        this.location = $.location;
        this.project = $.project;
        this.view = $.view;
    }

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

    public static final class Builder {
        private GetContentArgs $;

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

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

        public Builder contentId(Output contentId) {
            $.contentId = contentId;
            return this;
        }

        public Builder contentId(String contentId) {
            return contentId(Output.of(contentId));
        }

        public Builder lakeId(Output lakeId) {
            $.lakeId = lakeId;
            return this;
        }

        public Builder lakeId(String lakeId) {
            return lakeId(Output.of(lakeId));
        }

        public Builder location(Output location) {
            $.location = location;
            return this;
        }

        public Builder location(String location) {
            return location(Output.of(location));
        }

        public Builder project(@Nullable Output project) {
            $.project = project;
            return this;
        }

        public Builder project(String project) {
            return project(Output.of(project));
        }

        public Builder view(@Nullable Output view) {
            $.view = view;
            return this;
        }

        public Builder view(String view) {
            return view(Output.of(view));
        }

        public GetContentArgs build() {
            $.contentId = Objects.requireNonNull($.contentId, "expected parameter 'contentId' to be non-null");
            $.lakeId = Objects.requireNonNull($.lakeId, "expected parameter 'lakeId' to be non-null");
            $.location = Objects.requireNonNull($.location, "expected parameter 'location' to be non-null");
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy