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

com.pulumi.azurenative.labservices.outputs.GetGlobalUserPersonalPreferencesResult Maven / Gradle / Ivy

There is a newer version: 2.89.2
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.azurenative.labservices.outputs;

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

@CustomType
public final class GetGlobalUserPersonalPreferencesResult {
    /**
     * @return Array of favorite lab resource ids
     * 
     */
    private @Nullable List favoriteLabResourceIds;
    /**
     * @return Id to be used by the cache orchestrator
     * 
     */
    private @Nullable String id;

    private GetGlobalUserPersonalPreferencesResult() {}
    /**
     * @return Array of favorite lab resource ids
     * 
     */
    public List favoriteLabResourceIds() {
        return this.favoriteLabResourceIds == null ? List.of() : this.favoriteLabResourceIds;
    }
    /**
     * @return Id to be used by the cache orchestrator
     * 
     */
    public Optional id() {
        return Optional.ofNullable(this.id);
    }

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

    public static Builder builder(GetGlobalUserPersonalPreferencesResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List favoriteLabResourceIds;
        private @Nullable String id;
        public Builder() {}
        public Builder(GetGlobalUserPersonalPreferencesResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.favoriteLabResourceIds = defaults.favoriteLabResourceIds;
    	      this.id = defaults.id;
        }

        @CustomType.Setter
        public Builder favoriteLabResourceIds(@Nullable List favoriteLabResourceIds) {

            this.favoriteLabResourceIds = favoriteLabResourceIds;
            return this;
        }
        public Builder favoriteLabResourceIds(String... favoriteLabResourceIds) {
            return favoriteLabResourceIds(List.of(favoriteLabResourceIds));
        }
        @CustomType.Setter
        public Builder id(@Nullable String id) {

            this.id = id;
            return this;
        }
        public GetGlobalUserPersonalPreferencesResult build() {
            final var _resultValue = new GetGlobalUserPersonalPreferencesResult();
            _resultValue.favoriteLabResourceIds = favoriteLabResourceIds;
            _resultValue.id = id;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy