| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableFioFlag.Builder
Builds instances of type
ImmutableFioFlag. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableFioFlag.Builder |
builder()
Creates a builder for
ImmutableFioFlag. |
static ImmutableFioFlag |
copyOf(FioFlag instance)
Creates an immutable copy of a
FioFlag value. |
List<String> |
darkskyStations()
This property contains an array of IDs for each radar station utilized in servicing
this request.
|
Object |
darkskyUnavailable()
The presence of this property indicates that the Dark Sky data source supports the
given location, but a temporary error (such as a radar station being down for
maintenace) has made the data unavailable.
|
List<String> |
datapointStations()
This property contains an array of IDs for each DataPoint station utilized in
servicing this request.
|
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableFioFlag that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
darkskyUnavailable, darkskyStations, datapointStations, isdStations, lampStations, metarStations, metnoLicense, sources, units. |
List<String> |
isdStations()
This property contains an array of IDs for each ISD station utilized in servicing
this request.
|
List<String> |
lampStations()
This property contains an array of IDs for each LAMP station utilized in servicing
this request.
|
List<String> |
metarStations()
This property contains an array of IDs for each METAR station utilized in servicing
this request.
|
String |
metnoLicense()
The presence of this property indicates that data from api.met.no was utilized in
order to facilitate this request (as per their license agreement).
|
List<String> |
sources()
This property contains an array of IDs for each data source utilized in servicing
this request.
|
String |
toString()
Prints the immutable value
FioFlag with attribute values. |
FioUnit |
units()
The presence of this property indicates which units were used for the data in this
request.
|
ImmutableFioFlag |
withDarkskyStations(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
darkskyStations. |
ImmutableFioFlag |
withDarkskyStations(String... elements)
Copy the current immutable object with elements that replace the content of
darkskyStations. |
ImmutableFioFlag |
withDarkskyUnavailable(Object value)
Copy the current immutable object by setting a value for the
darkskyUnavailable attribute. |
ImmutableFioFlag |
withDatapointStations(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
datapointStations. |
ImmutableFioFlag |
withDatapointStations(String... elements)
Copy the current immutable object with elements that replace the content of
datapointStations. |
ImmutableFioFlag |
withIsdStations(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
isdStations. |
ImmutableFioFlag |
withIsdStations(String... elements)
Copy the current immutable object with elements that replace the content of
isdStations. |
ImmutableFioFlag |
withLampStations(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
lampStations. |
ImmutableFioFlag |
withLampStations(String... elements)
Copy the current immutable object with elements that replace the content of
lampStations. |
ImmutableFioFlag |
withMetarStations(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
metarStations. |
ImmutableFioFlag |
withMetarStations(String... elements)
Copy the current immutable object with elements that replace the content of
metarStations. |
ImmutableFioFlag |
withMetnoLicense(String value)
Copy the current immutable object by setting a value for the
metnoLicense attribute. |
ImmutableFioFlag |
withSources(Iterable<String> elements)
Copy the current immutable object with elements that replace the content of
sources. |
ImmutableFioFlag |
withSources(String... elements)
Copy the current immutable object with elements that replace the content of
sources. |
ImmutableFioFlag |
withUnits(FioUnit value)
Copy the current immutable object by setting a value for the
units attribute. |
public Object darkskyUnavailable()
darkskyUnavailable in interface FioFlagpublic List<String> darkskyStations()
darkskyStations in interface FioFlagpublic List<String> datapointStations()
datapointStations in interface FioFlagpublic List<String> isdStations()
isdStations in interface FioFlagpublic List<String> lampStations()
lampStations in interface FioFlagpublic List<String> metarStations()
metarStations in interface FioFlagpublic String metnoLicense()
metnoLicense in interface FioFlagpublic List<String> sources()
public FioUnit units()
public final ImmutableFioFlag withDarkskyUnavailable(Object value)
darkskyUnavailable attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for darkskyUnavailable (can be null)this objectpublic final ImmutableFioFlag withDarkskyStations(String... elements)
darkskyStations.elements - The elements to setthis objectpublic final ImmutableFioFlag withDarkskyStations(Iterable<String> elements)
darkskyStations.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of darkskyStations elements to setthis objectpublic final ImmutableFioFlag withDatapointStations(String... elements)
datapointStations.elements - The elements to setthis objectpublic final ImmutableFioFlag withDatapointStations(Iterable<String> elements)
datapointStations.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of datapointStations elements to setthis objectpublic final ImmutableFioFlag withIsdStations(String... elements)
isdStations.elements - The elements to setthis objectpublic final ImmutableFioFlag withIsdStations(Iterable<String> elements)
isdStations.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of isdStations elements to setthis objectpublic final ImmutableFioFlag withLampStations(String... elements)
lampStations.elements - The elements to setthis objectpublic final ImmutableFioFlag withLampStations(Iterable<String> elements)
lampStations.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of lampStations elements to setthis objectpublic final ImmutableFioFlag withMetarStations(String... elements)
metarStations.elements - The elements to setthis objectpublic final ImmutableFioFlag withMetarStations(Iterable<String> elements)
metarStations.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of metarStations elements to setthis objectpublic final ImmutableFioFlag withMetnoLicense(String value)
metnoLicense attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for metnoLicense (can be null)this objectpublic final ImmutableFioFlag withSources(String... elements)
sources.elements - The elements to setthis objectpublic final ImmutableFioFlag withSources(Iterable<String> elements)
sources.
A shallow reference equality check is used to prevent copying of the same value by returning this.elements - An iterable of sources elements to setthis objectpublic final ImmutableFioFlag withUnits(FioUnit value)
units attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for units (can be null)this objectpublic boolean equals(Object another)
ImmutableFioFlag that have equal attribute values.public int hashCode()
darkskyUnavailable, darkskyStations, datapointStations, isdStations, lampStations, metarStations, metnoLicense, sources, units.public String toString()
FioFlag with attribute values.public static ImmutableFioFlag copyOf(FioFlag instance)
FioFlag value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic static ImmutableFioFlag.Builder builder()
ImmutableFioFlag.Copyright © 2016. All rights reserved.