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

com.pulumi.azurenative.compute.outputs.SharingProfileGroupResponse 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.compute.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 SharingProfileGroupResponse {
    /**
     * @return A list of subscription/tenant ids the gallery is aimed to be shared to.
     * 
     */
    private @Nullable List ids;
    /**
     * @return This property allows you to specify the type of sharing group. <br><br> Possible values are: <br><br> **Subscriptions** <br><br> **AADTenants**
     * 
     */
    private @Nullable String type;

    private SharingProfileGroupResponse() {}
    /**
     * @return A list of subscription/tenant ids the gallery is aimed to be shared to.
     * 
     */
    public List ids() {
        return this.ids == null ? List.of() : this.ids;
    }
    /**
     * @return This property allows you to specify the type of sharing group. <br><br> Possible values are: <br><br> **Subscriptions** <br><br> **AADTenants**
     * 
     */
    public Optional type() {
        return Optional.ofNullable(this.type);
    }

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

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

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

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

            this.type = type;
            return this;
        }
        public SharingProfileGroupResponse build() {
            final var _resultValue = new SharingProfileGroupResponse();
            _resultValue.ids = ids;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy