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

com.pulumi.azurenative.orbital.GroundStationArgs 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.orbital;

import com.pulumi.azurenative.orbital.enums.Capability;
import com.pulumi.azurenative.orbital.inputs.GroundStationsPropertiesGlobalCommunicationsSiteArgs;
import com.pulumi.core.Either;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Double;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final GroundStationArgs Empty = new GroundStationArgs();

    /**
     * Altitude of the ground station.
     * 
     */
    @Import(name="altitudeMeters")
    private @Nullable Output altitudeMeters;

    /**
     * @return Altitude of the ground station.
     * 
     */
    public Optional> altitudeMeters() {
        return Optional.ofNullable(this.altitudeMeters);
    }

    /**
     * Ground station capabilities.
     * 
     */
    @Import(name="capabilities", required=true)
    private Output>> capabilities;

    /**
     * @return Ground station capabilities.
     * 
     */
    public Output>> capabilities() {
        return this.capabilities;
    }

    /**
     * City of ground station.
     * 
     */
    @Import(name="city")
    private @Nullable Output city;

    /**
     * @return City of ground station.
     * 
     */
    public Optional> city() {
        return Optional.ofNullable(this.city);
    }

    /**
     * A reference to global communications site.
     * 
     */
    @Import(name="globalCommunicationsSite", required=true)
    private Output globalCommunicationsSite;

    /**
     * @return A reference to global communications site.
     * 
     */
    public Output globalCommunicationsSite() {
        return this.globalCommunicationsSite;
    }

    /**
     * Ground Station name.
     * 
     */
    @Import(name="groundStationName")
    private @Nullable Output groundStationName;

    /**
     * @return Ground Station name.
     * 
     */
    public Optional> groundStationName() {
        return Optional.ofNullable(this.groundStationName);
    }

    /**
     * Latitude of the ground station in decimal degrees.
     * 
     */
    @Import(name="latitudeDegrees")
    private @Nullable Output latitudeDegrees;

    /**
     * @return Latitude of the ground station in decimal degrees.
     * 
     */
    public Optional> latitudeDegrees() {
        return Optional.ofNullable(this.latitudeDegrees);
    }

    /**
     * The geo-location where the resource lives
     * 
     */
    @Import(name="location")
    private @Nullable Output location;

    /**
     * @return The geo-location where the resource lives
     * 
     */
    public Optional> location() {
        return Optional.ofNullable(this.location);
    }

    /**
     * Longitude of the ground station in decimal degrees.
     * 
     */
    @Import(name="longitudeDegrees")
    private @Nullable Output longitudeDegrees;

    /**
     * @return Longitude of the ground station in decimal degrees.
     * 
     */
    public Optional> longitudeDegrees() {
        return Optional.ofNullable(this.longitudeDegrees);
    }

    /**
     * Ground station provider name.
     * 
     */
    @Import(name="providerName")
    private @Nullable Output providerName;

    /**
     * @return Ground station provider name.
     * 
     */
    public Optional> providerName() {
        return Optional.ofNullable(this.providerName);
    }

    /**
     * The name of the resource group. The name is case insensitive.
     * 
     */
    @Import(name="resourceGroupName", required=true)
    private Output resourceGroupName;

    /**
     * @return The name of the resource group. The name is case insensitive.
     * 
     */
    public Output resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Resource tags.
     * 
     */
    @Import(name="tags")
    private @Nullable Output> tags;

    /**
     * @return Resource tags.
     * 
     */
    public Optional>> tags() {
        return Optional.ofNullable(this.tags);
    }

    private GroundStationArgs() {}

    private GroundStationArgs(GroundStationArgs $) {
        this.altitudeMeters = $.altitudeMeters;
        this.capabilities = $.capabilities;
        this.city = $.city;
        this.globalCommunicationsSite = $.globalCommunicationsSite;
        this.groundStationName = $.groundStationName;
        this.latitudeDegrees = $.latitudeDegrees;
        this.location = $.location;
        this.longitudeDegrees = $.longitudeDegrees;
        this.providerName = $.providerName;
        this.resourceGroupName = $.resourceGroupName;
        this.tags = $.tags;
    }

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

    public static final class Builder {
        private GroundStationArgs $;

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

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

        /**
         * @param altitudeMeters Altitude of the ground station.
         * 
         * @return builder
         * 
         */
        public Builder altitudeMeters(@Nullable Output altitudeMeters) {
            $.altitudeMeters = altitudeMeters;
            return this;
        }

        /**
         * @param altitudeMeters Altitude of the ground station.
         * 
         * @return builder
         * 
         */
        public Builder altitudeMeters(Double altitudeMeters) {
            return altitudeMeters(Output.of(altitudeMeters));
        }

        /**
         * @param capabilities Ground station capabilities.
         * 
         * @return builder
         * 
         */
        public Builder capabilities(Output>> capabilities) {
            $.capabilities = capabilities;
            return this;
        }

        /**
         * @param capabilities Ground station capabilities.
         * 
         * @return builder
         * 
         */
        public Builder capabilities(List> capabilities) {
            return capabilities(Output.of(capabilities));
        }

        /**
         * @param capabilities Ground station capabilities.
         * 
         * @return builder
         * 
         */
        public Builder capabilities(Either... capabilities) {
            return capabilities(List.of(capabilities));
        }

        /**
         * @param city City of ground station.
         * 
         * @return builder
         * 
         */
        public Builder city(@Nullable Output city) {
            $.city = city;
            return this;
        }

        /**
         * @param city City of ground station.
         * 
         * @return builder
         * 
         */
        public Builder city(String city) {
            return city(Output.of(city));
        }

        /**
         * @param globalCommunicationsSite A reference to global communications site.
         * 
         * @return builder
         * 
         */
        public Builder globalCommunicationsSite(Output globalCommunicationsSite) {
            $.globalCommunicationsSite = globalCommunicationsSite;
            return this;
        }

        /**
         * @param globalCommunicationsSite A reference to global communications site.
         * 
         * @return builder
         * 
         */
        public Builder globalCommunicationsSite(GroundStationsPropertiesGlobalCommunicationsSiteArgs globalCommunicationsSite) {
            return globalCommunicationsSite(Output.of(globalCommunicationsSite));
        }

        /**
         * @param groundStationName Ground Station name.
         * 
         * @return builder
         * 
         */
        public Builder groundStationName(@Nullable Output groundStationName) {
            $.groundStationName = groundStationName;
            return this;
        }

        /**
         * @param groundStationName Ground Station name.
         * 
         * @return builder
         * 
         */
        public Builder groundStationName(String groundStationName) {
            return groundStationName(Output.of(groundStationName));
        }

        /**
         * @param latitudeDegrees Latitude of the ground station in decimal degrees.
         * 
         * @return builder
         * 
         */
        public Builder latitudeDegrees(@Nullable Output latitudeDegrees) {
            $.latitudeDegrees = latitudeDegrees;
            return this;
        }

        /**
         * @param latitudeDegrees Latitude of the ground station in decimal degrees.
         * 
         * @return builder
         * 
         */
        public Builder latitudeDegrees(Double latitudeDegrees) {
            return latitudeDegrees(Output.of(latitudeDegrees));
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(@Nullable Output location) {
            $.location = location;
            return this;
        }

        /**
         * @param location The geo-location where the resource lives
         * 
         * @return builder
         * 
         */
        public Builder location(String location) {
            return location(Output.of(location));
        }

        /**
         * @param longitudeDegrees Longitude of the ground station in decimal degrees.
         * 
         * @return builder
         * 
         */
        public Builder longitudeDegrees(@Nullable Output longitudeDegrees) {
            $.longitudeDegrees = longitudeDegrees;
            return this;
        }

        /**
         * @param longitudeDegrees Longitude of the ground station in decimal degrees.
         * 
         * @return builder
         * 
         */
        public Builder longitudeDegrees(Double longitudeDegrees) {
            return longitudeDegrees(Output.of(longitudeDegrees));
        }

        /**
         * @param providerName Ground station provider name.
         * 
         * @return builder
         * 
         */
        public Builder providerName(@Nullable Output providerName) {
            $.providerName = providerName;
            return this;
        }

        /**
         * @param providerName Ground station provider name.
         * 
         * @return builder
         * 
         */
        public Builder providerName(String providerName) {
            return providerName(Output.of(providerName));
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(Output resourceGroupName) {
            $.resourceGroupName = resourceGroupName;
            return this;
        }

        /**
         * @param resourceGroupName The name of the resource group. The name is case insensitive.
         * 
         * @return builder
         * 
         */
        public Builder resourceGroupName(String resourceGroupName) {
            return resourceGroupName(Output.of(resourceGroupName));
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(@Nullable Output> tags) {
            $.tags = tags;
            return this;
        }

        /**
         * @param tags Resource tags.
         * 
         * @return builder
         * 
         */
        public Builder tags(Map tags) {
            return tags(Output.of(tags));
        }

        public GroundStationArgs build() {
            if ($.capabilities == null) {
                throw new MissingRequiredPropertyException("GroundStationArgs", "capabilities");
            }
            if ($.globalCommunicationsSite == null) {
                throw new MissingRequiredPropertyException("GroundStationArgs", "globalCommunicationsSite");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("GroundStationArgs", "resourceGroupName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy