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

com.pulumi.azurenative.orbital.ContactArgs 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.inputs.ContactsPropertiesContactProfileArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


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

    public static final ContactArgs Empty = new ContactArgs();

    /**
     * Contact name.
     * 
     */
    @Import(name="contactName")
    private @Nullable Output contactName;

    /**
     * @return Contact name.
     * 
     */
    public Optional> contactName() {
        return Optional.ofNullable(this.contactName);
    }

    /**
     * The reference to the contact profile resource.
     * 
     */
    @Import(name="contactProfile", required=true)
    private Output contactProfile;

    /**
     * @return The reference to the contact profile resource.
     * 
     */
    public Output contactProfile() {
        return this.contactProfile;
    }

    /**
     * Azure Ground Station name.
     * 
     */
    @Import(name="groundStationName", required=true)
    private Output groundStationName;

    /**
     * @return Azure Ground Station name.
     * 
     */
    public Output groundStationName() {
        return this.groundStationName;
    }

    /**
     * Reservation end time of a contact (ISO 8601 UTC standard).
     * 
     */
    @Import(name="reservationEndTime", required=true)
    private Output reservationEndTime;

    /**
     * @return Reservation end time of a contact (ISO 8601 UTC standard).
     * 
     */
    public Output reservationEndTime() {
        return this.reservationEndTime;
    }

    /**
     * Reservation start time of a contact (ISO 8601 UTC standard).
     * 
     */
    @Import(name="reservationStartTime", required=true)
    private Output reservationStartTime;

    /**
     * @return Reservation start time of a contact (ISO 8601 UTC standard).
     * 
     */
    public Output reservationStartTime() {
        return this.reservationStartTime;
    }

    /**
     * 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;
    }

    /**
     * Spacecraft ID.
     * 
     */
    @Import(name="spacecraftName", required=true)
    private Output spacecraftName;

    /**
     * @return Spacecraft ID.
     * 
     */
    public Output spacecraftName() {
        return this.spacecraftName;
    }

    private ContactArgs() {}

    private ContactArgs(ContactArgs $) {
        this.contactName = $.contactName;
        this.contactProfile = $.contactProfile;
        this.groundStationName = $.groundStationName;
        this.reservationEndTime = $.reservationEndTime;
        this.reservationStartTime = $.reservationStartTime;
        this.resourceGroupName = $.resourceGroupName;
        this.spacecraftName = $.spacecraftName;
    }

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

    public static final class Builder {
        private ContactArgs $;

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

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

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

        /**
         * @param contactName Contact name.
         * 
         * @return builder
         * 
         */
        public Builder contactName(String contactName) {
            return contactName(Output.of(contactName));
        }

        /**
         * @param contactProfile The reference to the contact profile resource.
         * 
         * @return builder
         * 
         */
        public Builder contactProfile(Output contactProfile) {
            $.contactProfile = contactProfile;
            return this;
        }

        /**
         * @param contactProfile The reference to the contact profile resource.
         * 
         * @return builder
         * 
         */
        public Builder contactProfile(ContactsPropertiesContactProfileArgs contactProfile) {
            return contactProfile(Output.of(contactProfile));
        }

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

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

        /**
         * @param reservationEndTime Reservation end time of a contact (ISO 8601 UTC standard).
         * 
         * @return builder
         * 
         */
        public Builder reservationEndTime(Output reservationEndTime) {
            $.reservationEndTime = reservationEndTime;
            return this;
        }

        /**
         * @param reservationEndTime Reservation end time of a contact (ISO 8601 UTC standard).
         * 
         * @return builder
         * 
         */
        public Builder reservationEndTime(String reservationEndTime) {
            return reservationEndTime(Output.of(reservationEndTime));
        }

        /**
         * @param reservationStartTime Reservation start time of a contact (ISO 8601 UTC standard).
         * 
         * @return builder
         * 
         */
        public Builder reservationStartTime(Output reservationStartTime) {
            $.reservationStartTime = reservationStartTime;
            return this;
        }

        /**
         * @param reservationStartTime Reservation start time of a contact (ISO 8601 UTC standard).
         * 
         * @return builder
         * 
         */
        public Builder reservationStartTime(String reservationStartTime) {
            return reservationStartTime(Output.of(reservationStartTime));
        }

        /**
         * @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 spacecraftName Spacecraft ID.
         * 
         * @return builder
         * 
         */
        public Builder spacecraftName(Output spacecraftName) {
            $.spacecraftName = spacecraftName;
            return this;
        }

        /**
         * @param spacecraftName Spacecraft ID.
         * 
         * @return builder
         * 
         */
        public Builder spacecraftName(String spacecraftName) {
            return spacecraftName(Output.of(spacecraftName));
        }

        public ContactArgs build() {
            if ($.contactProfile == null) {
                throw new MissingRequiredPropertyException("ContactArgs", "contactProfile");
            }
            if ($.groundStationName == null) {
                throw new MissingRequiredPropertyException("ContactArgs", "groundStationName");
            }
            if ($.reservationEndTime == null) {
                throw new MissingRequiredPropertyException("ContactArgs", "reservationEndTime");
            }
            if ($.reservationStartTime == null) {
                throw new MissingRequiredPropertyException("ContactArgs", "reservationStartTime");
            }
            if ($.resourceGroupName == null) {
                throw new MissingRequiredPropertyException("ContactArgs", "resourceGroupName");
            }
            if ($.spacecraftName == null) {
                throw new MissingRequiredPropertyException("ContactArgs", "spacecraftName");
            }
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy