sdk/java/src/main/java/com/pulumi/ovh/CloudProject/outputs/GetRedisUserResult.java
<filename>sdk/java/src/main/java/com/pulumi/ovh/CloudProject/outputs/GetRedisUserResult.java// *** 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.ovh.CloudProject.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetRedisUserResult {
    /**
     * @return Categories of the user.
     * 
     */
    private List<String> categories;
    /**
     * @return Channels of the user.
     * 
     */
    private List<String> channels;
    /**
     * @return See Argument Reference above.
     * 
     */
    private String clusterId;
    /**
     * @return Commands of the user.
     * 
     */
    private List<String> commands;
    /**
     * @return Date of the creation of the user.
     * 
     */
    private String createdAt;
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    private String id;
    /**
     * @return Keys of the user.
     * 
     */
    private List<String> keys;
    /**
     * @return See Argument Reference above.
     * 
     */
    private String name;
    /**
     * @return Current status of the user.
     * 
     */
    private String serviceName;
    /**
     * @return Current status of the user.
     * 
     */
    private String status;

    private GetRedisUserResult() {}
    /**
     * @return Categories of the user.
     * 
     */
    public List<String> categories() {
        return this.categories;
    }
    /**
     * @return Channels of the user.
     * 
     */
    public List<String> channels() {
        return this.channels;
    }
    /**
     * @return See Argument Reference above.
     * 
     */
    public String clusterId() {
        return this.clusterId;
    }
    /**
     * @return Commands of the user.
     * 
     */
    public List<String> commands() {
        return this.commands;
    }
    /**
     * @return Date of the creation of the user.
     * 
     */
    public String createdAt() {
        return this.createdAt;
    }
    /**
     * @return The provider-assigned unique ID for this managed resource.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Keys of the user.
     * 
     */
    public List<String> keys() {
        return this.keys;
    }
    /**
     * @return See Argument Reference above.
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Current status of the user.
     * 
     */
    public String serviceName() {
        return this.serviceName;
    }
    /**
     * @return Current status of the user.
     * 
     */
    public String status() {
        return this.status;
    }

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

    public static Builder builder(GetRedisUserResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List<String> categories;
        private List<String> channels;
        private String clusterId;
        private List<String> commands;
        private String createdAt;
        private String id;
        private List<String> keys;
        private String name;
        private String serviceName;
        private String status;
        public Builder() {}
        public Builder(GetRedisUserResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.categories = defaults.categories;
    	      this.channels = defaults.channels;
    	      this.clusterId = defaults.clusterId;
    	      this.commands = defaults.commands;
    	      this.createdAt = defaults.createdAt;
    	      this.id = defaults.id;
    	      this.keys = defaults.keys;
    	      this.name = defaults.name;
    	      this.serviceName = defaults.serviceName;
    	      this.status = defaults.status;
        }

        @CustomType.Setter
        public Builder categories(List<String> categories) {
            this.categories = Objects.requireNonNull(categories);
            return this;
        }
        public Builder categories(String... categories) {
            return categories(List.of(categories));
        }
        @CustomType.Setter
        public Builder channels(List<String> channels) {
            this.channels = Objects.requireNonNull(channels);
            return this;
        }
        public Builder channels(String... channels) {
            return channels(List.of(channels));
        }
        @CustomType.Setter
        public Builder clusterId(String clusterId) {
            this.clusterId = Objects.requireNonNull(clusterId);
            return this;
        }
        @CustomType.Setter
        public Builder commands(List<String> commands) {
            this.commands = Objects.requireNonNull(commands);
            return this;
        }
        public Builder commands(String... commands) {
            return commands(List.of(commands));
        }
        @CustomType.Setter
        public Builder createdAt(String createdAt) {
            this.createdAt = Objects.requireNonNull(createdAt);
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            this.id = Objects.requireNonNull(id);
            return this;
        }
        @CustomType.Setter
        public Builder keys(List<String> keys) {
            this.keys = Objects.requireNonNull(keys);
            return this;
        }
        public Builder keys(String... keys) {
            return keys(List.of(keys));
        }
        @CustomType.Setter
        public Builder name(String name) {
            this.name = Objects.requireNonNull(name);
            return this;
        }
        @CustomType.Setter
        public Builder serviceName(String serviceName) {
            this.serviceName = Objects.requireNonNull(serviceName);
            return this;
        }
        @CustomType.Setter
        public Builder status(String status) {
            this.status = Objects.requireNonNull(status);
            return this;
        }
        public GetRedisUserResult build() {
            final var o = new GetRedisUserResult();
            o.categories = categories;
            o.channels = channels;
            o.clusterId = clusterId;
            o.commands = commands;
            o.createdAt = createdAt;
            o.id = id;
            o.keys = keys;
            o.name = name;
            o.serviceName = serviceName;
            o.status = status;
            return o;
        }
    }
}
