/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.iotwireless.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* GSM object. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class GsmObj implements Serializable, Cloneable, StructuredPojo { /** ** Mobile Country Code. *
*/ private Integer mcc; /** ** Mobile Network Code. *
*/ private Integer mnc; /** ** Location area code. *
*/ private Integer lac; /** ** GERAN (GSM EDGE Radio Access Network) Cell Global Identifier. *
*/ private Integer geranCid; /** ** GSM local identification (local ID) information. *
*/ private GsmLocalId gsmLocalId; /** ** Timing advance value, which corresponds to the length of time a signal takes to reach the base station from a * mobile phone. *
*/ private Integer gsmTimingAdvance; /** ** Rx level, which is the received signal power, measured in dBm (decibel-milliwatts). *
*/ private Integer rxLevel; /** ** GSM object for network measurement reports. *
*/ private java.util.List* Mobile Country Code. *
* * @param mcc * Mobile Country Code. */ public void setMcc(Integer mcc) { this.mcc = mcc; } /** ** Mobile Country Code. *
* * @return Mobile Country Code. */ public Integer getMcc() { return this.mcc; } /** ** Mobile Country Code. *
* * @param mcc * Mobile Country Code. * @return Returns a reference to this object so that method calls can be chained together. */ public GsmObj withMcc(Integer mcc) { setMcc(mcc); return this; } /** ** Mobile Network Code. *
* * @param mnc * Mobile Network Code. */ public void setMnc(Integer mnc) { this.mnc = mnc; } /** ** Mobile Network Code. *
* * @return Mobile Network Code. */ public Integer getMnc() { return this.mnc; } /** ** Mobile Network Code. *
* * @param mnc * Mobile Network Code. * @return Returns a reference to this object so that method calls can be chained together. */ public GsmObj withMnc(Integer mnc) { setMnc(mnc); return this; } /** ** Location area code. *
* * @param lac * Location area code. */ public void setLac(Integer lac) { this.lac = lac; } /** ** Location area code. *
* * @return Location area code. */ public Integer getLac() { return this.lac; } /** ** Location area code. *
* * @param lac * Location area code. * @return Returns a reference to this object so that method calls can be chained together. */ public GsmObj withLac(Integer lac) { setLac(lac); return this; } /** ** GERAN (GSM EDGE Radio Access Network) Cell Global Identifier. *
* * @param geranCid * GERAN (GSM EDGE Radio Access Network) Cell Global Identifier. */ public void setGeranCid(Integer geranCid) { this.geranCid = geranCid; } /** ** GERAN (GSM EDGE Radio Access Network) Cell Global Identifier. *
* * @return GERAN (GSM EDGE Radio Access Network) Cell Global Identifier. */ public Integer getGeranCid() { return this.geranCid; } /** ** GERAN (GSM EDGE Radio Access Network) Cell Global Identifier. *
* * @param geranCid * GERAN (GSM EDGE Radio Access Network) Cell Global Identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public GsmObj withGeranCid(Integer geranCid) { setGeranCid(geranCid); return this; } /** ** GSM local identification (local ID) information. *
* * @param gsmLocalId * GSM local identification (local ID) information. */ public void setGsmLocalId(GsmLocalId gsmLocalId) { this.gsmLocalId = gsmLocalId; } /** ** GSM local identification (local ID) information. *
* * @return GSM local identification (local ID) information. */ public GsmLocalId getGsmLocalId() { return this.gsmLocalId; } /** ** GSM local identification (local ID) information. *
* * @param gsmLocalId * GSM local identification (local ID) information. * @return Returns a reference to this object so that method calls can be chained together. */ public GsmObj withGsmLocalId(GsmLocalId gsmLocalId) { setGsmLocalId(gsmLocalId); return this; } /** ** Timing advance value, which corresponds to the length of time a signal takes to reach the base station from a * mobile phone. *
* * @param gsmTimingAdvance * Timing advance value, which corresponds to the length of time a signal takes to reach the base station * from a mobile phone. */ public void setGsmTimingAdvance(Integer gsmTimingAdvance) { this.gsmTimingAdvance = gsmTimingAdvance; } /** ** Timing advance value, which corresponds to the length of time a signal takes to reach the base station from a * mobile phone. *
* * @return Timing advance value, which corresponds to the length of time a signal takes to reach the base station * from a mobile phone. */ public Integer getGsmTimingAdvance() { return this.gsmTimingAdvance; } /** ** Timing advance value, which corresponds to the length of time a signal takes to reach the base station from a * mobile phone. *
* * @param gsmTimingAdvance * Timing advance value, which corresponds to the length of time a signal takes to reach the base station * from a mobile phone. * @return Returns a reference to this object so that method calls can be chained together. */ public GsmObj withGsmTimingAdvance(Integer gsmTimingAdvance) { setGsmTimingAdvance(gsmTimingAdvance); return this; } /** ** Rx level, which is the received signal power, measured in dBm (decibel-milliwatts). *
* * @param rxLevel * Rx level, which is the received signal power, measured in dBm (decibel-milliwatts). */ public void setRxLevel(Integer rxLevel) { this.rxLevel = rxLevel; } /** ** Rx level, which is the received signal power, measured in dBm (decibel-milliwatts). *
* * @return Rx level, which is the received signal power, measured in dBm (decibel-milliwatts). */ public Integer getRxLevel() { return this.rxLevel; } /** ** Rx level, which is the received signal power, measured in dBm (decibel-milliwatts). *
* * @param rxLevel * Rx level, which is the received signal power, measured in dBm (decibel-milliwatts). * @return Returns a reference to this object so that method calls can be chained together. */ public GsmObj withRxLevel(Integer rxLevel) { setRxLevel(rxLevel); return this; } /** ** GSM object for network measurement reports. *
* * @return GSM object for network measurement reports. */ public java.util.List* GSM object for network measurement reports. *
* * @param gsmNmr * GSM object for network measurement reports. */ public void setGsmNmr(java.util.Collection* GSM object for network measurement reports. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setGsmNmr(java.util.Collection)} or {@link #withGsmNmr(java.util.Collection)} if you want to override the * existing values. *
* * @param gsmNmr * GSM object for network measurement reports. * @return Returns a reference to this object so that method calls can be chained together. */ public GsmObj withGsmNmr(GsmNmrObj... gsmNmr) { if (this.gsmNmr == null) { setGsmNmr(new java.util.ArrayList* GSM object for network measurement reports. *
* * @param gsmNmr * GSM object for network measurement reports. * @return Returns a reference to this object so that method calls can be chained together. */ public GsmObj withGsmNmr(java.util.Collection