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

com.pulumi.linode.outputs.GetUsersUserNodebalancerGrant Maven / Gradle / Ivy

There is a newer version: 4.31.0-alpha.1732773076
Show newest version
// *** 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.linode.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetUsersUserNodebalancerGrant {
    /**
     * @return The ID of entity this grant applies to.
     * 
     */
    private Integer id;
    /**
     * @return The current label of the entity this grant applies to, for display purposes.
     * 
     */
    private String label;
    /**
     * @return The level of access this User has to this entity. If null, this User has no access.
     * 
     */
    private String permissions;

    private GetUsersUserNodebalancerGrant() {}
    /**
     * @return The ID of entity this grant applies to.
     * 
     */
    public Integer id() {
        return this.id;
    }
    /**
     * @return The current label of the entity this grant applies to, for display purposes.
     * 
     */
    public String label() {
        return this.label;
    }
    /**
     * @return The level of access this User has to this entity. If null, this User has no access.
     * 
     */
    public String permissions() {
        return this.permissions;
    }

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

    public static Builder builder(GetUsersUserNodebalancerGrant defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private Integer id;
        private String label;
        private String permissions;
        public Builder() {}
        public Builder(GetUsersUserNodebalancerGrant defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.id = defaults.id;
    	      this.label = defaults.label;
    	      this.permissions = defaults.permissions;
        }

        @CustomType.Setter
        public Builder id(Integer id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetUsersUserNodebalancerGrant", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder label(String label) {
            if (label == null) {
              throw new MissingRequiredPropertyException("GetUsersUserNodebalancerGrant", "label");
            }
            this.label = label;
            return this;
        }
        @CustomType.Setter
        public Builder permissions(String permissions) {
            if (permissions == null) {
              throw new MissingRequiredPropertyException("GetUsersUserNodebalancerGrant", "permissions");
            }
            this.permissions = permissions;
            return this;
        }
        public GetUsersUserNodebalancerGrant build() {
            final var _resultValue = new GetUsersUserNodebalancerGrant();
            _resultValue.id = id;
            _resultValue.label = label;
            _resultValue.permissions = permissions;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy