@Override
    public boolean equals(Object obj) {
        if (this == obj)
            return true;
        if (obj == null)
            return false;

        if (obj instanceof StartConnectionRequest == false)
            return false;
        StartConnectionRequest other = (StartConnectionRequest) obj;
        if (other.getDeviceSerialNumber() == null ^ this.getDeviceSerialNumber() == null)
            return false;
        if (other.getDeviceSerialNumber() != null && other.getDeviceSerialNumber().equals(this.getDeviceSerialNumber()) == false)
            return false;
        if (other.getAssetId() == null ^ this.getAssetId() == null)
            return false;
        if (other.getAssetId() != null && other.getAssetId().equals(this.getAssetId()) == false)
            return false;
        if (other.getClientPublicKey() == null ^ this.getClientPublicKey() == null)
            return false;
        if (other.getClientPublicKey() != null && other.getClientPublicKey().equals(this.getClientPublicKey()) == false)
            return false;
        if (other.getNetworkInterfaceDeviceIndex() == null ^ this.getNetworkInterfaceDeviceIndex() == null)
            return false;
        if (other.getNetworkInterfaceDeviceIndex() != null && other.getNetworkInterfaceDeviceIndex().equals(this.getNetworkInterfaceDeviceIndex()) == false)
            return false;
        return true;
    }
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()
aws-java-sdk-outposts/src/main/java/com/amazonaws/services/outposts/model/StartConnectionRequest.java