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

com.pulumi.azurenative.windowsiot.outputs.GetServiceResult Maven / Gradle / Ivy

There is a newer version: 2.82.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.windowsiot.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class GetServiceResult {
    /**
     * @return Windows IoT Device Service OEM AAD domain
     * 
     */
    private @Nullable String adminDomainName;
    /**
     * @return Windows IoT Device Service ODM AAD domain
     * 
     */
    private @Nullable String billingDomainName;
    /**
     * @return The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.
     * 
     */
    private @Nullable String etag;
    /**
     * @return Fully qualified resource Id for the resource
     * 
     */
    private String id;
    /**
     * @return The Azure Region where the resource lives
     * 
     */
    private @Nullable String location;
    /**
     * @return The name of the resource
     * 
     */
    private String name;
    /**
     * @return Windows IoT Device Service notes.
     * 
     */
    private @Nullable String notes;
    /**
     * @return Windows IoT Device Service device allocation,
     * 
     */
    private @Nullable Double quantity;
    /**
     * @return Windows IoT Device Service start date,
     * 
     */
    private String startDate;
    /**
     * @return Resource tags.
     * 
     */
    private @Nullable Map tags;
    /**
     * @return The type of the resource.
     * 
     */
    private String type;

    private GetServiceResult() {}
    /**
     * @return Windows IoT Device Service OEM AAD domain
     * 
     */
    public Optional adminDomainName() {
        return Optional.ofNullable(this.adminDomainName);
    }
    /**
     * @return Windows IoT Device Service ODM AAD domain
     * 
     */
    public Optional billingDomainName() {
        return Optional.ofNullable(this.billingDomainName);
    }
    /**
     * @return The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.
     * 
     */
    public Optional etag() {
        return Optional.ofNullable(this.etag);
    }
    /**
     * @return Fully qualified resource Id for the resource
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The Azure Region where the resource lives
     * 
     */
    public Optional location() {
        return Optional.ofNullable(this.location);
    }
    /**
     * @return The name of the resource
     * 
     */
    public String name() {
        return this.name;
    }
    /**
     * @return Windows IoT Device Service notes.
     * 
     */
    public Optional notes() {
        return Optional.ofNullable(this.notes);
    }
    /**
     * @return Windows IoT Device Service device allocation,
     * 
     */
    public Optional quantity() {
        return Optional.ofNullable(this.quantity);
    }
    /**
     * @return Windows IoT Device Service start date,
     * 
     */
    public String startDate() {
        return this.startDate;
    }
    /**
     * @return Resource tags.
     * 
     */
    public Map tags() {
        return this.tags == null ? Map.of() : this.tags;
    }
    /**
     * @return The type of the resource.
     * 
     */
    public String type() {
        return this.type;
    }

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

    public static Builder builder(GetServiceResult defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private @Nullable String adminDomainName;
        private @Nullable String billingDomainName;
        private @Nullable String etag;
        private String id;
        private @Nullable String location;
        private String name;
        private @Nullable String notes;
        private @Nullable Double quantity;
        private String startDate;
        private @Nullable Map tags;
        private String type;
        public Builder() {}
        public Builder(GetServiceResult defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.adminDomainName = defaults.adminDomainName;
    	      this.billingDomainName = defaults.billingDomainName;
    	      this.etag = defaults.etag;
    	      this.id = defaults.id;
    	      this.location = defaults.location;
    	      this.name = defaults.name;
    	      this.notes = defaults.notes;
    	      this.quantity = defaults.quantity;
    	      this.startDate = defaults.startDate;
    	      this.tags = defaults.tags;
    	      this.type = defaults.type;
        }

        @CustomType.Setter
        public Builder adminDomainName(@Nullable String adminDomainName) {

            this.adminDomainName = adminDomainName;
            return this;
        }
        @CustomType.Setter
        public Builder billingDomainName(@Nullable String billingDomainName) {

            this.billingDomainName = billingDomainName;
            return this;
        }
        @CustomType.Setter
        public Builder etag(@Nullable String etag) {

            this.etag = etag;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetServiceResult", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder location(@Nullable String location) {

            this.location = location;
            return this;
        }
        @CustomType.Setter
        public Builder name(String name) {
            if (name == null) {
              throw new MissingRequiredPropertyException("GetServiceResult", "name");
            }
            this.name = name;
            return this;
        }
        @CustomType.Setter
        public Builder notes(@Nullable String notes) {

            this.notes = notes;
            return this;
        }
        @CustomType.Setter
        public Builder quantity(@Nullable Double quantity) {

            this.quantity = quantity;
            return this;
        }
        @CustomType.Setter
        public Builder startDate(String startDate) {
            if (startDate == null) {
              throw new MissingRequiredPropertyException("GetServiceResult", "startDate");
            }
            this.startDate = startDate;
            return this;
        }
        @CustomType.Setter
        public Builder tags(@Nullable Map tags) {

            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder type(String type) {
            if (type == null) {
              throw new MissingRequiredPropertyException("GetServiceResult", "type");
            }
            this.type = type;
            return this;
        }
        public GetServiceResult build() {
            final var _resultValue = new GetServiceResult();
            _resultValue.adminDomainName = adminDomainName;
            _resultValue.billingDomainName = billingDomainName;
            _resultValue.etag = etag;
            _resultValue.id = id;
            _resultValue.location = location;
            _resultValue.name = name;
            _resultValue.notes = notes;
            _resultValue.quantity = quantity;
            _resultValue.startDate = startDate;
            _resultValue.tags = tags;
            _resultValue.type = type;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy