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

com.pulumi.googlenative.cloudtasks.v2beta2.inputs.GetQueueArgs 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.cloudtasks.v2beta2.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 GetQueueArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetQueueArgs Empty = new GetQueueArgs();

    @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="queueId", required=true)
    private Output queueId;

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

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

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

    private GetQueueArgs() {}

    private GetQueueArgs(GetQueueArgs $) {
        this.location = $.location;
        this.project = $.project;
        this.queueId = $.queueId;
        this.readMask = $.readMask;
    }

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

    public static final class Builder {
        private GetQueueArgs $;

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

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

        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 queueId(Output queueId) {
            $.queueId = queueId;
            return this;
        }

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

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

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy