All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.iotwireless.model.WcdmaObj Maven / Gradle / Ivy

Go to download

The AWS Java SDK for AWS IoT Wireless module holds the client classes that are used for communicating with AWS IoT Wireless Service

The newest version!
/*
 * Copyright 2019-2024 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;

/**
 * 

* WCDMA. *

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class WcdmaObj implements Serializable, Cloneable, StructuredPojo { /** *

* Mobile Country Code. *

*/ private Integer mcc; /** *

* Mobile Network Code. *

*/ private Integer mnc; /** *

* Location Area Code. *

*/ private Integer lac; /** *

* UTRAN (UMTS Terrestrial Radio Access Network) Cell Global Identifier. *

*/ private Integer utranCid; /** *

* WCDMA local ID information. *

*/ private WcdmaLocalId wcdmaLocalId; /** *

* Received Signal Code Power (signal power) (dBm). *

*/ private Integer rscp; /** *

* Path loss, or path attenuation, is the reduction in power density of an electromagnetic wave as it propagates * through space. *

*/ private Integer pathLoss; /** *

* WCDMA object for network measurement reports. *

*/ private java.util.List wcdmaNmr; /** *

* 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 WcdmaObj 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 WcdmaObj 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 WcdmaObj withLac(Integer lac) { setLac(lac); return this; } /** *

* UTRAN (UMTS Terrestrial Radio Access Network) Cell Global Identifier. *

* * @param utranCid * UTRAN (UMTS Terrestrial Radio Access Network) Cell Global Identifier. */ public void setUtranCid(Integer utranCid) { this.utranCid = utranCid; } /** *

* UTRAN (UMTS Terrestrial Radio Access Network) Cell Global Identifier. *

* * @return UTRAN (UMTS Terrestrial Radio Access Network) Cell Global Identifier. */ public Integer getUtranCid() { return this.utranCid; } /** *

* UTRAN (UMTS Terrestrial Radio Access Network) Cell Global Identifier. *

* * @param utranCid * UTRAN (UMTS Terrestrial Radio Access Network) Cell Global Identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public WcdmaObj withUtranCid(Integer utranCid) { setUtranCid(utranCid); return this; } /** *

* WCDMA local ID information. *

* * @param wcdmaLocalId * WCDMA local ID information. */ public void setWcdmaLocalId(WcdmaLocalId wcdmaLocalId) { this.wcdmaLocalId = wcdmaLocalId; } /** *

* WCDMA local ID information. *

* * @return WCDMA local ID information. */ public WcdmaLocalId getWcdmaLocalId() { return this.wcdmaLocalId; } /** *

* WCDMA local ID information. *

* * @param wcdmaLocalId * WCDMA local ID information. * @return Returns a reference to this object so that method calls can be chained together. */ public WcdmaObj withWcdmaLocalId(WcdmaLocalId wcdmaLocalId) { setWcdmaLocalId(wcdmaLocalId); return this; } /** *

* Received Signal Code Power (signal power) (dBm). *

* * @param rscp * Received Signal Code Power (signal power) (dBm). */ public void setRscp(Integer rscp) { this.rscp = rscp; } /** *

* Received Signal Code Power (signal power) (dBm). *

* * @return Received Signal Code Power (signal power) (dBm). */ public Integer getRscp() { return this.rscp; } /** *

* Received Signal Code Power (signal power) (dBm). *

* * @param rscp * Received Signal Code Power (signal power) (dBm). * @return Returns a reference to this object so that method calls can be chained together. */ public WcdmaObj withRscp(Integer rscp) { setRscp(rscp); return this; } /** *

* Path loss, or path attenuation, is the reduction in power density of an electromagnetic wave as it propagates * through space. *

* * @param pathLoss * Path loss, or path attenuation, is the reduction in power density of an electromagnetic wave as it * propagates through space. */ public void setPathLoss(Integer pathLoss) { this.pathLoss = pathLoss; } /** *

* Path loss, or path attenuation, is the reduction in power density of an electromagnetic wave as it propagates * through space. *

* * @return Path loss, or path attenuation, is the reduction in power density of an electromagnetic wave as it * propagates through space. */ public Integer getPathLoss() { return this.pathLoss; } /** *

* Path loss, or path attenuation, is the reduction in power density of an electromagnetic wave as it propagates * through space. *

* * @param pathLoss * Path loss, or path attenuation, is the reduction in power density of an electromagnetic wave as it * propagates through space. * @return Returns a reference to this object so that method calls can be chained together. */ public WcdmaObj withPathLoss(Integer pathLoss) { setPathLoss(pathLoss); return this; } /** *

* WCDMA object for network measurement reports. *

* * @return WCDMA object for network measurement reports. */ public java.util.List getWcdmaNmr() { return wcdmaNmr; } /** *

* WCDMA object for network measurement reports. *

* * @param wcdmaNmr * WCDMA object for network measurement reports. */ public void setWcdmaNmr(java.util.Collection wcdmaNmr) { if (wcdmaNmr == null) { this.wcdmaNmr = null; return; } this.wcdmaNmr = new java.util.ArrayList(wcdmaNmr); } /** *

* WCDMA object for network measurement reports. *

*

* NOTE: This method appends the values to the existing list (if any). Use * {@link #setWcdmaNmr(java.util.Collection)} or {@link #withWcdmaNmr(java.util.Collection)} if you want to override * the existing values. *

* * @param wcdmaNmr * WCDMA object for network measurement reports. * @return Returns a reference to this object so that method calls can be chained together. */ public WcdmaObj withWcdmaNmr(WcdmaNmrObj... wcdmaNmr) { if (this.wcdmaNmr == null) { setWcdmaNmr(new java.util.ArrayList(wcdmaNmr.length)); } for (WcdmaNmrObj ele : wcdmaNmr) { this.wcdmaNmr.add(ele); } return this; } /** *

* WCDMA object for network measurement reports. *

* * @param wcdmaNmr * WCDMA object for network measurement reports. * @return Returns a reference to this object so that method calls can be chained together. */ public WcdmaObj withWcdmaNmr(java.util.Collection wcdmaNmr) { setWcdmaNmr(wcdmaNmr); return this; } /** * Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be * redacted from this string using a placeholder value. * * @return A string representation of this object. * * @see java.lang.Object#toString() */ @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{"); if (getMcc() != null) sb.append("Mcc: ").append(getMcc()).append(","); if (getMnc() != null) sb.append("Mnc: ").append(getMnc()).append(","); if (getLac() != null) sb.append("Lac: ").append(getLac()).append(","); if (getUtranCid() != null) sb.append("UtranCid: ").append(getUtranCid()).append(","); if (getWcdmaLocalId() != null) sb.append("WcdmaLocalId: ").append(getWcdmaLocalId()).append(","); if (getRscp() != null) sb.append("Rscp: ").append(getRscp()).append(","); if (getPathLoss() != null) sb.append("PathLoss: ").append(getPathLoss()).append(","); if (getWcdmaNmr() != null) sb.append("WcdmaNmr: ").append(getWcdmaNmr()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof WcdmaObj == false) return false; WcdmaObj other = (WcdmaObj) obj; if (other.getMcc() == null ^ this.getMcc() == null) return false; if (other.getMcc() != null && other.getMcc().equals(this.getMcc()) == false) return false; if (other.getMnc() == null ^ this.getMnc() == null) return false; if (other.getMnc() != null && other.getMnc().equals(this.getMnc()) == false) return false; if (other.getLac() == null ^ this.getLac() == null) return false; if (other.getLac() != null && other.getLac().equals(this.getLac()) == false) return false; if (other.getUtranCid() == null ^ this.getUtranCid() == null) return false; if (other.getUtranCid() != null && other.getUtranCid().equals(this.getUtranCid()) == false) return false; if (other.getWcdmaLocalId() == null ^ this.getWcdmaLocalId() == null) return false; if (other.getWcdmaLocalId() != null && other.getWcdmaLocalId().equals(this.getWcdmaLocalId()) == false) return false; if (other.getRscp() == null ^ this.getRscp() == null) return false; if (other.getRscp() != null && other.getRscp().equals(this.getRscp()) == false) return false; if (other.getPathLoss() == null ^ this.getPathLoss() == null) return false; if (other.getPathLoss() != null && other.getPathLoss().equals(this.getPathLoss()) == false) return false; if (other.getWcdmaNmr() == null ^ this.getWcdmaNmr() == null) return false; if (other.getWcdmaNmr() != null && other.getWcdmaNmr().equals(this.getWcdmaNmr()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getMcc() == null) ? 0 : getMcc().hashCode()); hashCode = prime * hashCode + ((getMnc() == null) ? 0 : getMnc().hashCode()); hashCode = prime * hashCode + ((getLac() == null) ? 0 : getLac().hashCode()); hashCode = prime * hashCode + ((getUtranCid() == null) ? 0 : getUtranCid().hashCode()); hashCode = prime * hashCode + ((getWcdmaLocalId() == null) ? 0 : getWcdmaLocalId().hashCode()); hashCode = prime * hashCode + ((getRscp() == null) ? 0 : getRscp().hashCode()); hashCode = prime * hashCode + ((getPathLoss() == null) ? 0 : getPathLoss().hashCode()); hashCode = prime * hashCode + ((getWcdmaNmr() == null) ? 0 : getWcdmaNmr().hashCode()); return hashCode; } @Override public WcdmaObj clone() { try { return (WcdmaObj) super.clone(); } catch (CloneNotSupportedException e) { throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e); } } @com.amazonaws.annotation.SdkInternalApi @Override public void marshall(ProtocolMarshaller protocolMarshaller) { com.amazonaws.services.iotwireless.model.transform.WcdmaObjMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy