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

com.pulumi.azurenative.marketplace.PrivateStoreCollectionArgs Maven / Gradle / Ivy

There is a newer version: 2.78.0
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.marketplace;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


public final class PrivateStoreCollectionArgs extends com.pulumi.resources.ResourceArgs {

    public static final PrivateStoreCollectionArgs Empty = new PrivateStoreCollectionArgs();

    /**
     * Indicating whether all subscriptions are selected (=true) or not (=false).
     * 
     */
    @Import(name="allSubscriptions")
    private @Nullable Output allSubscriptions;

    /**
     * @return Indicating whether all subscriptions are selected (=true) or not (=false).
     * 
     */
    public Optional> allSubscriptions() {
        return Optional.ofNullable(this.allSubscriptions);
    }

    /**
     * Gets or sets the association with Commercial's Billing Account.
     * 
     */
    @Import(name="claim")
    private @Nullable Output claim;

    /**
     * @return Gets or sets the association with Commercial's Billing Account.
     * 
     */
    public Optional> claim() {
        return Optional.ofNullable(this.claim);
    }

    /**
     * The collection ID
     * 
     */
    @Import(name="collectionId")
    private @Nullable Output collectionId;

    /**
     * @return The collection ID
     * 
     */
    public Optional> collectionId() {
        return Optional.ofNullable(this.collectionId);
    }

    /**
     * Gets or sets collection name.
     * 
     */
    @Import(name="collectionName")
    private @Nullable Output collectionName;

    /**
     * @return Gets or sets collection name.
     * 
     */
    public Optional> collectionName() {
        return Optional.ofNullable(this.collectionName);
    }

    /**
     * Indicating whether the collection is enabled or disabled.
     * 
     */
    @Import(name="enabled")
    private @Nullable Output enabled;

    /**
     * @return Indicating whether the collection is enabled or disabled.
     * 
     */
    public Optional> enabled() {
        return Optional.ofNullable(this.enabled);
    }

    /**
     * The store ID - must use the tenant ID
     * 
     */
    @Import(name="privateStoreId", required=true)
    private Output privateStoreId;

    /**
     * @return The store ID - must use the tenant ID
     * 
     */
    public Output privateStoreId() {
        return this.privateStoreId;
    }

    /**
     * Gets or sets subscription ids list. Empty list indicates all subscriptions are selected, null indicates no update is done, explicit list indicates the explicit selected subscriptions. On insert, null is considered as bad request
     * 
     */
    @Import(name="subscriptionsList")
    private @Nullable Output> subscriptionsList;

    /**
     * @return Gets or sets subscription ids list. Empty list indicates all subscriptions are selected, null indicates no update is done, explicit list indicates the explicit selected subscriptions. On insert, null is considered as bad request
     * 
     */
    public Optional>> subscriptionsList() {
        return Optional.ofNullable(this.subscriptionsList);
    }

    private PrivateStoreCollectionArgs() {}

    private PrivateStoreCollectionArgs(PrivateStoreCollectionArgs $) {
        this.allSubscriptions = $.allSubscriptions;
        this.claim = $.claim;
        this.collectionId = $.collectionId;
        this.collectionName = $.collectionName;
        this.enabled = $.enabled;
        this.privateStoreId = $.privateStoreId;
        this.subscriptionsList = $.subscriptionsList;
    }

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

    public static final class Builder {
        private PrivateStoreCollectionArgs $;

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

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

        /**
         * @param allSubscriptions Indicating whether all subscriptions are selected (=true) or not (=false).
         * 
         * @return builder
         * 
         */
        public Builder allSubscriptions(@Nullable Output allSubscriptions) {
            $.allSubscriptions = allSubscriptions;
            return this;
        }

        /**
         * @param allSubscriptions Indicating whether all subscriptions are selected (=true) or not (=false).
         * 
         * @return builder
         * 
         */
        public Builder allSubscriptions(Boolean allSubscriptions) {
            return allSubscriptions(Output.of(allSubscriptions));
        }

        /**
         * @param claim Gets or sets the association with Commercial's Billing Account.
         * 
         * @return builder
         * 
         */
        public Builder claim(@Nullable Output claim) {
            $.claim = claim;
            return this;
        }

        /**
         * @param claim Gets or sets the association with Commercial's Billing Account.
         * 
         * @return builder
         * 
         */
        public Builder claim(String claim) {
            return claim(Output.of(claim));
        }

        /**
         * @param collectionId The collection ID
         * 
         * @return builder
         * 
         */
        public Builder collectionId(@Nullable Output collectionId) {
            $.collectionId = collectionId;
            return this;
        }

        /**
         * @param collectionId The collection ID
         * 
         * @return builder
         * 
         */
        public Builder collectionId(String collectionId) {
            return collectionId(Output.of(collectionId));
        }

        /**
         * @param collectionName Gets or sets collection name.
         * 
         * @return builder
         * 
         */
        public Builder collectionName(@Nullable Output collectionName) {
            $.collectionName = collectionName;
            return this;
        }

        /**
         * @param collectionName Gets or sets collection name.
         * 
         * @return builder
         * 
         */
        public Builder collectionName(String collectionName) {
            return collectionName(Output.of(collectionName));
        }

        /**
         * @param enabled Indicating whether the collection is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder enabled(@Nullable Output enabled) {
            $.enabled = enabled;
            return this;
        }

        /**
         * @param enabled Indicating whether the collection is enabled or disabled.
         * 
         * @return builder
         * 
         */
        public Builder enabled(Boolean enabled) {
            return enabled(Output.of(enabled));
        }

        /**
         * @param privateStoreId The store ID - must use the tenant ID
         * 
         * @return builder
         * 
         */
        public Builder privateStoreId(Output privateStoreId) {
            $.privateStoreId = privateStoreId;
            return this;
        }

        /**
         * @param privateStoreId The store ID - must use the tenant ID
         * 
         * @return builder
         * 
         */
        public Builder privateStoreId(String privateStoreId) {
            return privateStoreId(Output.of(privateStoreId));
        }

        /**
         * @param subscriptionsList Gets or sets subscription ids list. Empty list indicates all subscriptions are selected, null indicates no update is done, explicit list indicates the explicit selected subscriptions. On insert, null is considered as bad request
         * 
         * @return builder
         * 
         */
        public Builder subscriptionsList(@Nullable Output> subscriptionsList) {
            $.subscriptionsList = subscriptionsList;
            return this;
        }

        /**
         * @param subscriptionsList Gets or sets subscription ids list. Empty list indicates all subscriptions are selected, null indicates no update is done, explicit list indicates the explicit selected subscriptions. On insert, null is considered as bad request
         * 
         * @return builder
         * 
         */
        public Builder subscriptionsList(List subscriptionsList) {
            return subscriptionsList(Output.of(subscriptionsList));
        }

        /**
         * @param subscriptionsList Gets or sets subscription ids list. Empty list indicates all subscriptions are selected, null indicates no update is done, explicit list indicates the explicit selected subscriptions. On insert, null is considered as bad request
         * 
         * @return builder
         * 
         */
        public Builder subscriptionsList(String... subscriptionsList) {
            return subscriptionsList(List.of(subscriptionsList));
        }

        public PrivateStoreCollectionArgs build() {
            if ($.privateStoreId == null) {
                throw new MissingRequiredPropertyException("PrivateStoreCollectionArgs", "privateStoreId");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy