com.amazonaws.services.iotwireless.model.WcdmaNmrObj Maven / Gradle / Ivy
Show all versions of aws-java-sdk-iotwireless Show documentation
/*
* 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;
/**
*
* Network Measurement Reports.
*
*
* @see AWS API
* Documentation
*/
@Generated("com.amazonaws:aws-java-sdk-code-generator")
public class WcdmaNmrObj implements Serializable, Cloneable, StructuredPojo {
/**
*
* WCDMA UTRA Absolute RF Channel Number downlink.
*
*/
private Integer uarfcndl;
/**
*
* Primary Scrambling Code.
*
*/
private Integer psc;
/**
*
* UTRAN (UMTS Terrestrial Radio Access Network) Cell Global Identifier.
*
*/
private Integer utranCid;
/**
*
* 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 UTRA Absolute RF Channel Number downlink.
*
*
* @param uarfcndl
* WCDMA UTRA Absolute RF Channel Number downlink.
*/
public void setUarfcndl(Integer uarfcndl) {
this.uarfcndl = uarfcndl;
}
/**
*
* WCDMA UTRA Absolute RF Channel Number downlink.
*
*
* @return WCDMA UTRA Absolute RF Channel Number downlink.
*/
public Integer getUarfcndl() {
return this.uarfcndl;
}
/**
*
* WCDMA UTRA Absolute RF Channel Number downlink.
*
*
* @param uarfcndl
* WCDMA UTRA Absolute RF Channel Number downlink.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public WcdmaNmrObj withUarfcndl(Integer uarfcndl) {
setUarfcndl(uarfcndl);
return this;
}
/**
*
* Primary Scrambling Code.
*
*
* @param psc
* Primary Scrambling Code.
*/
public void setPsc(Integer psc) {
this.psc = psc;
}
/**
*
* Primary Scrambling Code.
*
*
* @return Primary Scrambling Code.
*/
public Integer getPsc() {
return this.psc;
}
/**
*
* Primary Scrambling Code.
*
*
* @param psc
* Primary Scrambling Code.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public WcdmaNmrObj withPsc(Integer psc) {
setPsc(psc);
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 WcdmaNmrObj withUtranCid(Integer utranCid) {
setUtranCid(utranCid);
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 WcdmaNmrObj 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 WcdmaNmrObj withPathLoss(Integer pathLoss) {
setPathLoss(pathLoss);
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 (getUarfcndl() != null)
sb.append("Uarfcndl: ").append(getUarfcndl()).append(",");
if (getPsc() != null)
sb.append("Psc: ").append(getPsc()).append(",");
if (getUtranCid() != null)
sb.append("UtranCid: ").append(getUtranCid()).append(",");
if (getRscp() != null)
sb.append("Rscp: ").append(getRscp()).append(",");
if (getPathLoss() != null)
sb.append("PathLoss: ").append(getPathLoss());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof WcdmaNmrObj == false)
return false;
WcdmaNmrObj other = (WcdmaNmrObj) obj;
if (other.getUarfcndl() == null ^ this.getUarfcndl() == null)
return false;
if (other.getUarfcndl() != null && other.getUarfcndl().equals(this.getUarfcndl()) == false)
return false;
if (other.getPsc() == null ^ this.getPsc() == null)
return false;
if (other.getPsc() != null && other.getPsc().equals(this.getPsc()) == 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.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;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getUarfcndl() == null) ? 0 : getUarfcndl().hashCode());
hashCode = prime * hashCode + ((getPsc() == null) ? 0 : getPsc().hashCode());
hashCode = prime * hashCode + ((getUtranCid() == null) ? 0 : getUtranCid().hashCode());
hashCode = prime * hashCode + ((getRscp() == null) ? 0 : getRscp().hashCode());
hashCode = prime * hashCode + ((getPathLoss() == null) ? 0 : getPathLoss().hashCode());
return hashCode;
}
@Override
public WcdmaNmrObj clone() {
try {
return (WcdmaNmrObj) 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.WcdmaNmrObjMarshaller.getInstance().marshall(this, protocolMarshaller);
}
}