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

com.pulumi.meraki.organizations.outputs.ClaimParameters Maven / Gradle / Ivy

There is a newer version: 0.4.0-alpha.1731736975
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.meraki.organizations.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.meraki.organizations.outputs.ClaimParametersLicense;
import java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;

@CustomType
public final class ClaimParameters {
    /**
     * @return The licenses that should be claimed
     * 
     */
    private @Nullable List licenses;
    /**
     * @return The numbers of the orders that should be claimed
     * 
     */
    private @Nullable List orders;
    /**
     * @return The serials of the devices that should be claimed
     * 
     */
    private @Nullable List serials;

    private ClaimParameters() {}
    /**
     * @return The licenses that should be claimed
     * 
     */
    public List licenses() {
        return this.licenses == null ? List.of() : this.licenses;
    }
    /**
     * @return The numbers of the orders that should be claimed
     * 
     */
    public List orders() {
        return this.orders == null ? List.of() : this.orders;
    }
    /**
     * @return The serials of the devices that should be claimed
     * 
     */
    public List serials() {
        return this.serials == null ? List.of() : this.serials;
    }

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

    public static Builder builder(ClaimParameters defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable List licenses;
        private @Nullable List orders;
        private @Nullable List serials;
        public Builder() {}
        public Builder(ClaimParameters defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.licenses = defaults.licenses;
    	      this.orders = defaults.orders;
    	      this.serials = defaults.serials;
        }

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

            this.licenses = licenses;
            return this;
        }
        public Builder licenses(ClaimParametersLicense... licenses) {
            return licenses(List.of(licenses));
        }
        @CustomType.Setter
        public Builder orders(@Nullable List orders) {

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

            this.serials = serials;
            return this;
        }
        public Builder serials(String... serials) {
            return serials(List.of(serials));
        }
        public ClaimParameters build() {
            final var _resultValue = new ClaimParameters();
            _resultValue.licenses = licenses;
            _resultValue.orders = orders;
            _resultValue.serials = serials;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy