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

com.pulumi.azurenative.awsconnector.inputs.CoordinatesArgs 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.awsconnector.inputs;

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


/**
 * Definition of Coordinates
 * 
 */
public final class CoordinatesArgs extends com.pulumi.resources.ResourceArgs {

    public static final CoordinatesArgs Empty = new CoordinatesArgs();

    /**
     * <p> Specifies a coordinate of the north–south position of a geographic point on the surface of the Earth (-90 - 90). </p>
     * 
     */
    @Import(name="latitude")
    private @Nullable Output latitude;

    /**
     * @return <p> Specifies a coordinate of the north–south position of a geographic point on the surface of the Earth (-90 - 90). </p>
     * 
     */
    public Optional> latitude() {
        return Optional.ofNullable(this.latitude);
    }

    /**
     * <p> Specifies a coordinate of the east–west position of a geographic point on the surface of the Earth (-180 - 180). </p>
     * 
     */
    @Import(name="longitude")
    private @Nullable Output longitude;

    /**
     * @return <p> Specifies a coordinate of the east–west position of a geographic point on the surface of the Earth (-180 - 180). </p>
     * 
     */
    public Optional> longitude() {
        return Optional.ofNullable(this.longitude);
    }

    private CoordinatesArgs() {}

    private CoordinatesArgs(CoordinatesArgs $) {
        this.latitude = $.latitude;
        this.longitude = $.longitude;
    }

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

    public static final class Builder {
        private CoordinatesArgs $;

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

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

        /**
         * @param latitude <p> Specifies a coordinate of the north–south position of a geographic point on the surface of the Earth (-90 - 90). </p>
         * 
         * @return builder
         * 
         */
        public Builder latitude(@Nullable Output latitude) {
            $.latitude = latitude;
            return this;
        }

        /**
         * @param latitude <p> Specifies a coordinate of the north–south position of a geographic point on the surface of the Earth (-90 - 90). </p>
         * 
         * @return builder
         * 
         */
        public Builder latitude(String latitude) {
            return latitude(Output.of(latitude));
        }

        /**
         * @param longitude <p> Specifies a coordinate of the east–west position of a geographic point on the surface of the Earth (-180 - 180). </p>
         * 
         * @return builder
         * 
         */
        public Builder longitude(@Nullable Output longitude) {
            $.longitude = longitude;
            return this;
        }

        /**
         * @param longitude <p> Specifies a coordinate of the east–west position of a geographic point on the surface of the Earth (-180 - 180). </p>
         * 
         * @return builder
         * 
         */
        public Builder longitude(String longitude) {
            return longitude(Output.of(longitude));
        }

        public CoordinatesArgs build() {
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy