@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Frequency extends Object implements Serializable, Cloneable, StructuredPojo
Object that describes the frequency.
| Constructor and Description |
|---|
Frequency() |
| Modifier and Type | Method and Description |
|---|---|
Frequency |
clone() |
boolean |
equals(Object obj) |
String |
getUnits()
Frequency units.
|
Double |
getValue()
Frequency value.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setUnits(String units)
Frequency units.
|
void |
setValue(Double value)
Frequency value.
|
String |
toString()
Returns a string representation of this object.
|
Frequency |
withUnits(FrequencyUnits units)
Frequency units.
|
Frequency |
withUnits(String units)
Frequency units.
|
Frequency |
withValue(Double value)
Frequency value.
|
public void setUnits(String units)
Frequency units.
units - Frequency units.FrequencyUnitspublic String getUnits()
Frequency units.
FrequencyUnitspublic Frequency withUnits(String units)
Frequency units.
units - Frequency units.FrequencyUnitspublic Frequency withUnits(FrequencyUnits units)
Frequency units.
units - Frequency units.FrequencyUnitspublic void setValue(Double value)
Frequency value. Valid values are between 2200 to 2300 MHz and 7750 to 8400 MHz for downlink and 2025 to 2120 MHz for uplink.
value - Frequency value. Valid values are between 2200 to 2300 MHz and 7750 to 8400 MHz for downlink and 2025 to
2120 MHz for uplink.public Double getValue()
Frequency value. Valid values are between 2200 to 2300 MHz and 7750 to 8400 MHz for downlink and 2025 to 2120 MHz for uplink.
public Frequency withValue(Double value)
Frequency value. Valid values are between 2200 to 2300 MHz and 7750 to 8400 MHz for downlink and 2025 to 2120 MHz for uplink.
value - Frequency value. Valid values are between 2200 to 2300 MHz and 7750 to 8400 MHz for downlink and 2025 to
2120 MHz for uplink.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.