com.pulumi.aws.networkmanager.outputs.GetDeviceLocation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
// *** 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.aws.networkmanager.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetDeviceLocation {
/**
* @return Physical address.
*
*/
private String address;
/**
* @return Latitude.
*
*/
private String latitude;
/**
* @return Longitude.
*
*/
private String longitude;
private GetDeviceLocation() {}
/**
* @return Physical address.
*
*/
public String address() {
return this.address;
}
/**
* @return Latitude.
*
*/
public String latitude() {
return this.latitude;
}
/**
* @return Longitude.
*
*/
public String longitude() {
return this.longitude;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetDeviceLocation defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String address;
private String latitude;
private String longitude;
public Builder() {}
public Builder(GetDeviceLocation defaults) {
Objects.requireNonNull(defaults);
this.address = defaults.address;
this.latitude = defaults.latitude;
this.longitude = defaults.longitude;
}
@CustomType.Setter
public Builder address(String address) {
if (address == null) {
throw new MissingRequiredPropertyException("GetDeviceLocation", "address");
}
this.address = address;
return this;
}
@CustomType.Setter
public Builder latitude(String latitude) {
if (latitude == null) {
throw new MissingRequiredPropertyException("GetDeviceLocation", "latitude");
}
this.latitude = latitude;
return this;
}
@CustomType.Setter
public Builder longitude(String longitude) {
if (longitude == null) {
throw new MissingRequiredPropertyException("GetDeviceLocation", "longitude");
}
this.longitude = longitude;
return this;
}
public GetDeviceLocation build() {
final var _resultValue = new GetDeviceLocation();
_resultValue.address = address;
_resultValue.latitude = latitude;
_resultValue.longitude = longitude;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy