Class Radios
- java.lang.Object
-
- com.amazonaws.services.devicefarm.model.Radios
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Radios extends Object implements Serializable, Cloneable
Represents the set of radios and their states on a device. Examples of radios include Wi-Fi, GPS, Bluetooth, and NFC.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Radios()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Radios
clone()
boolean
equals(Object obj)
Boolean
getBluetooth()
True if Bluetooth is enabled at the beginning of the test; otherwise, false.Boolean
getGps()
True if GPS is enabled at the beginning of the test; otherwise, false.Boolean
getNfc()
True if NFC is enabled at the beginning of the test; otherwise, false.Boolean
getWifi()
True if Wi-Fi is enabled at the beginning of the test; otherwise, false.int
hashCode()
Boolean
isBluetooth()
True if Bluetooth is enabled at the beginning of the test; otherwise, false.Boolean
isGps()
True if GPS is enabled at the beginning of the test; otherwise, false.Boolean
isNfc()
True if NFC is enabled at the beginning of the test; otherwise, false.Boolean
isWifi()
True if Wi-Fi is enabled at the beginning of the test; otherwise, false.void
setBluetooth(Boolean bluetooth)
True if Bluetooth is enabled at the beginning of the test; otherwise, false.void
setGps(Boolean gps)
True if GPS is enabled at the beginning of the test; otherwise, false.void
setNfc(Boolean nfc)
True if NFC is enabled at the beginning of the test; otherwise, false.void
setWifi(Boolean wifi)
True if Wi-Fi is enabled at the beginning of the test; otherwise, false.String
toString()
Returns a string representation of this object; useful for testing and debugging.Radios
withBluetooth(Boolean bluetooth)
True if Bluetooth is enabled at the beginning of the test; otherwise, false.Radios
withGps(Boolean gps)
True if GPS is enabled at the beginning of the test; otherwise, false.Radios
withNfc(Boolean nfc)
True if NFC is enabled at the beginning of the test; otherwise, false.Radios
withWifi(Boolean wifi)
True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
-
-
-
Method Detail
-
setWifi
public void setWifi(Boolean wifi)
True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
- Parameters:
wifi
- True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
-
getWifi
public Boolean getWifi()
True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
- Returns:
- True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
-
withWifi
public Radios withWifi(Boolean wifi)
True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
- Parameters:
wifi
- True if Wi-Fi is enabled at the beginning of the test; otherwise, false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isWifi
public Boolean isWifi()
True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
- Returns:
- True if Wi-Fi is enabled at the beginning of the test; otherwise, false.
-
setBluetooth
public void setBluetooth(Boolean bluetooth)
True if Bluetooth is enabled at the beginning of the test; otherwise, false.
- Parameters:
bluetooth
- True if Bluetooth is enabled at the beginning of the test; otherwise, false.
-
getBluetooth
public Boolean getBluetooth()
True if Bluetooth is enabled at the beginning of the test; otherwise, false.
- Returns:
- True if Bluetooth is enabled at the beginning of the test; otherwise, false.
-
withBluetooth
public Radios withBluetooth(Boolean bluetooth)
True if Bluetooth is enabled at the beginning of the test; otherwise, false.
- Parameters:
bluetooth
- True if Bluetooth is enabled at the beginning of the test; otherwise, false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isBluetooth
public Boolean isBluetooth()
True if Bluetooth is enabled at the beginning of the test; otherwise, false.
- Returns:
- True if Bluetooth is enabled at the beginning of the test; otherwise, false.
-
setNfc
public void setNfc(Boolean nfc)
True if NFC is enabled at the beginning of the test; otherwise, false.
- Parameters:
nfc
- True if NFC is enabled at the beginning of the test; otherwise, false.
-
getNfc
public Boolean getNfc()
True if NFC is enabled at the beginning of the test; otherwise, false.
- Returns:
- True if NFC is enabled at the beginning of the test; otherwise, false.
-
withNfc
public Radios withNfc(Boolean nfc)
True if NFC is enabled at the beginning of the test; otherwise, false.
- Parameters:
nfc
- True if NFC is enabled at the beginning of the test; otherwise, false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isNfc
public Boolean isNfc()
True if NFC is enabled at the beginning of the test; otherwise, false.
- Returns:
- True if NFC is enabled at the beginning of the test; otherwise, false.
-
setGps
public void setGps(Boolean gps)
True if GPS is enabled at the beginning of the test; otherwise, false.
- Parameters:
gps
- True if GPS is enabled at the beginning of the test; otherwise, false.
-
getGps
public Boolean getGps()
True if GPS is enabled at the beginning of the test; otherwise, false.
- Returns:
- True if GPS is enabled at the beginning of the test; otherwise, false.
-
withGps
public Radios withGps(Boolean gps)
True if GPS is enabled at the beginning of the test; otherwise, false.
- Parameters:
gps
- True if GPS is enabled at the beginning of the test; otherwise, false.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isGps
public Boolean isGps()
True if GPS is enabled at the beginning of the test; otherwise, false.
- Returns:
- True if GPS is enabled at the beginning of the test; otherwise, false.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-