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

com.pulumi.googlenative.gkeonprem.v1.inputs.GetBareMetalClusterBareMetalNodePoolIamPolicyPlainArgs 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.gkeonprem.v1.inputs;

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


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

    public static final GetBareMetalClusterBareMetalNodePoolIamPolicyPlainArgs Empty = new GetBareMetalClusterBareMetalNodePoolIamPolicyPlainArgs();

    @Import(name="bareMetalClusterId", required=true)
    private String bareMetalClusterId;

    public String bareMetalClusterId() {
        return this.bareMetalClusterId;
    }

    @Import(name="bareMetalNodePoolId", required=true)
    private String bareMetalNodePoolId;

    public String bareMetalNodePoolId() {
        return this.bareMetalNodePoolId;
    }

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

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

    @Import(name="optionsRequestedPolicyVersion")
    private @Nullable Integer optionsRequestedPolicyVersion;

    public Optional optionsRequestedPolicyVersion() {
        return Optional.ofNullable(this.optionsRequestedPolicyVersion);
    }

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

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

    private GetBareMetalClusterBareMetalNodePoolIamPolicyPlainArgs() {}

    private GetBareMetalClusterBareMetalNodePoolIamPolicyPlainArgs(GetBareMetalClusterBareMetalNodePoolIamPolicyPlainArgs $) {
        this.bareMetalClusterId = $.bareMetalClusterId;
        this.bareMetalNodePoolId = $.bareMetalNodePoolId;
        this.location = $.location;
        this.optionsRequestedPolicyVersion = $.optionsRequestedPolicyVersion;
        this.project = $.project;
    }

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

    public static final class Builder {
        private GetBareMetalClusterBareMetalNodePoolIamPolicyPlainArgs $;

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

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

        public Builder bareMetalClusterId(String bareMetalClusterId) {
            $.bareMetalClusterId = bareMetalClusterId;
            return this;
        }

        public Builder bareMetalNodePoolId(String bareMetalNodePoolId) {
            $.bareMetalNodePoolId = bareMetalNodePoolId;
            return this;
        }

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

        public Builder optionsRequestedPolicyVersion(@Nullable Integer optionsRequestedPolicyVersion) {
            $.optionsRequestedPolicyVersion = optionsRequestedPolicyVersion;
            return this;
        }

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

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

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy