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

com.pulumi.googlenative.storage.v1.inputs.GetObjectIamPolicyArgs 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.storage.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 GetObjectIamPolicyArgs extends com.pulumi.resources.InvokeArgs {

    public static final GetObjectIamPolicyArgs Empty = new GetObjectIamPolicyArgs();

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

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

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

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

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

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

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

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

    private GetObjectIamPolicyArgs() {}

    private GetObjectIamPolicyArgs(GetObjectIamPolicyArgs $) {
        this.bucket = $.bucket;
        this.generation = $.generation;
        this.object = $.object;
        this.userProject = $.userProject;
    }

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

    public static final class Builder {
        private GetObjectIamPolicyArgs $;

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

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

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

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

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

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

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

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

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

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

        public GetObjectIamPolicyArgs build() {
            $.bucket = Objects.requireNonNull($.bucket, "expected parameter 'bucket' to be non-null");
            $.object = Objects.requireNonNull($.object, "expected parameter 'object' to be non-null");
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy